for j=1:g_n
param1=param0(:,j);
comp1(j,1)=param1(1)*1*data1(3,j);
comp2(j,1)=param1(2)*log(data1(3,j));
comp3(j,1)=0;
end
运行后提示错误
??? The following error occurred converting from sym to double:
Error using ==> mupadmex
Error in MuPAD command: DOUBLE cannot convert the input expression into a double
array.
If the input expression contains a symbolic variable, use the VPA function
instead.
请帮忙看看哪里错了,谢谢各位