This kind of problem happen in the following statement, i have no idea how it failed.
Is anyone interesting or experienced in this problem ? please give me a favor. Thank u very much.
t_old(1,
>= ones(1,K) ; u_old(1,
>= zeros(1,
; are preset digits.
variables t(1,K) u(1,K)
expression f_ni(1,K)
for i = 1:K
f_ni(1,i) = sqrt((t_old(1,i)-1)* u_old(1,i)) + sqrt((t_old(1,i)-1) / u_old(1,i))* (u(1,i) - u_old(1,i)) /2 + sqrt(u_old(1,i)/(t_old(1,i)-1))*(t(1,i) - t_old(1,i)) /2 ;
end