Info
此问题已关闭。 请重新打开它进行编辑或回答。
I need to 3d plot the code but there is an error can I get help with fixing the error
1 次查看(过去 30 天)
显示 更早的评论
F = [-40:20:40];
x = 0.1:0.8;
y = 0.1:0.4;
sigma_p = @(x,y) F/(.8*x*y);
sigma_mx = @(x,y) (F*y)/(1/12*(x)*(y)^3);
sigma_my = @(x,y) (F*x)/(1/12*(y)*(x)^3);
sigma_net = @(x,y) sigma_p +sigma_mx + sigma_my
figure
plot3(x,y,sigma_net)
0 个评论
回答(1 个)
Walter Roberson
2016-9-7
sigma_net = @(x,y) sigma_p(x,y) + sigma_mx(x,y) + sigma_my(x,y);
plot3(x, y, sigma_net(x,y))
0 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!