请问我这个编的程序为什么结果只有一个数
clc;
clear all;
close all;
c=[0
50
100]
l=[1968
2460
2952
3690
4428]
jie=zeros(5,3)
for m=1;5;
for n=1;3;
syms N
e=363;E=196281.78;I=65.58*10000;y=100;
k=sqrt(1000*N/E/I)
u=k*l(m)/2
f=y.*(1000*N.*cos(u)+10e5*c(n)*k.*sin(u))-1000*N*e+1000*N*e.*cos(u)
% ezplot(f,[0,200,0,1000])
jie(m,n)=vpasolve(f,N,[20,1000])
end
end

 采纳的回答

0 个投票

仅供参考,两个for里中循环节里的分号;改成冒号
for m=1;5;
for n=1;3;

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!