strength of materials in matlab

10 次查看(过去 30 天)
math search
math search 2014-5-28
回答: KSSV 2020-8-1
Hi. I try to draw a beam in matlab like in the picture. can somebody help me?

回答(1 个)

KSSV
KSSV 2020-8-1
P = [0 0] ;
L = 1000 ; % length of beam
B = 0.5 ; % breadth of beam
B = [P ; L P(2) ; L B ; P(1) B] ;
patch(B(:,1),B(:,2),'b')
ylim([-5 5])
box on

类别

Help CenterFile Exchange 中查找有关 External Language Interfaces 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by