i was writing a equation but this always have an error and i cant run it

1 次查看(过去 30 天)
y = ((W*S)/(T*T)).*((cosh((a).*(L/2-x)))./(cosh(a*L/2)-1))+(W*x).*(L-x)/(2*T);
T= 1000;
L=10;
W=100;
S=100000; %% this is tha value of E*I
a=0.316;
x=0:0.1:10;
plot(y,x)

采纳的回答

KSSV
KSSV 2020-8-4
You should first define the constants and then type the formula.
T= 1000;
L=10;
W=100;
S=100000; %% this is tha value of E*I
a=0.316;
x=0:0.1:10;
y = ((W*S)/(T*T)).*((cosh((a).*(L/2-x)))./(cosh(a*L/2)-1))+(W*x).*(L-x)/(2*T);
plot(x,y)

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

标签

产品


版本

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by