i am solving non linear equations using excel data . but i am getting the error is unable to convert struct to syms can anyone help me ??
syms N JQo=xlsread('suspended.xlsx','A:A')R=xlsread('suspended.xlsx','B:B')No=xlsread('suspended.xlsx','C:C')X=xlsread('suspended.xlsx','D:D')V=24345;k=1.076;Kn=0.27kd=0.04bs=0.15Xf=0.49Df=1.04Dw=1.3L=0.04a=2.24Y=0.39;bt=kd+bsNstar=N/Kn;Nmin=Kn/((Y*k/bt)-1);Lstar=L*(sqrt(k*Xf/Kn*Df))*Df*Dw;Nstar_min=(1/(Y*k*(bt-1)));jstar=(J/sqrt(Kn*k*Xf*Df));nX = size(X,1 );solutions = cell(1, nX);for S=1:nX solutions{S}=solve(Qo(S)*(1+R(S))*(No(S)-N)-V*(a*J+((X(S)*k*N)/(Kn+N))),(sqrt((Lstar^1.76)+5.2*(Nstar-Nstar_min))-(Lstar^0.88))/2.6==jstar^0.88,N,J)vpa(solutions{S})endcelldisp(solutions)
Best Answer