matlab循环求解。
Show older comments
请问我这个编的程序为什么结果只有一个数
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

Accepted Answer
More Answers (0)
Categories
Find more on Symbolic Math Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!