求大神指教下面Matlab程序哪里有错误,要怎样改?
来源:学生作业帮 编辑:神马作文网作业帮 分类:综合作业 时间:2024/11/16 22:11:08
求大神指教下面Matlab程序哪里有错误,要怎样改?
a=[747.86 797.86 847.86 897.86 947.86 997.86 1047.86 1097.79 1147.79 1197.73 1247.73 1297.73 1347.73 1397.73 1447.73 1497.73];
for i=1:16;
b(i)=solve('(534000*(acos((600-h)/600)-(600-h)/600*sqrt(1-((600-h)/600)^2)))*2450/10^6=a(i)+217','h')
end
运行结果:
Error using ==> solve
Unable to find closed form solution.
a=[747.86 797.86 847.86 897.86 947.86 997.86 1047.86 1097.79 1147.79 1197.73 1247.73 1297.73 1347.73 1397.73 1447.73 1497.73];
for i=1:16;
b(i)=solve('(534000*(acos((600-h)/600)-(600-h)/600*sqrt(1-((600-h)/600)^2)))*2450/10^6=a(i)+217','h')
end
运行结果:
Error using ==> solve
Unable to find closed form solution.
a=[747.86 797.86 847.86 897.86 947.86 997.86 1047.86 1097.79 1147.79 1197.73 1247.73 1297.73 1347.73 1397.73 1447.73 1497.73];b=solve('(534000.*(acos((600-h)./600)-(600-h)./600.*sqrt(1-((600-h)./600).^2))).*2450/10^6=a+217','h')