strength of materials in matlab

4 vues (au cours des 30 derniers jours)
math search
math search le 28 Mai 2014
Réponse apportée : KSSV le 1 Août 2020
Hi. I try to draw a beam in matlab like in the picture. can somebody help me?

Réponses (1)

KSSV
KSSV le 1 Août 2020
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

Catégories

En savoir plus sur External Language Interfaces dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by