How can the shear force diagram be plotted?

5 views (last 30 days)
How can the shear force diagram be prepared through MATLAB for following figure?

Answers (1)

KSSV
KSSV on 18 Feb 2019
N = 10 ;
X = 1:N ; % beam
Y = zeros(1,N) ;
defo = rand(1,N) ;
idx = randsample(N,4) ;
defo(idx) = -defo(idx) ;
figure
hold on
plot(X,Y,'b') ;
plot(X,Y,'.r')
quiver(X,Y,zeros(1,N),defo)

Categories

Find more on App Building 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!