- /
-
Beam support
on 6 Oct 2022
- 5
- 23
- 0
- 0
- 279
% Reference: milan batista (2022). draw19 (https://www.mathworks.com/matlabcentral/fileexchange/71745-draw19), MATLAB Central File Exchange. Retrieved October 6, 2022.
drawInit
axis off
x0=0;y0=0;r=1;ht=1;th=-30
p=drawSupport(2,r,x0,y0,th,'b')
c=drawCanoe(4,1.5,0,0,0,'-pos',4)
drawSpring(c.xk(6),c.yk(6),0.5,3,4,90,'-type','ext')
drawDonut(0.5,0.25,c.xk(6),c.yk(6))
scatter(p.xk(1),p.yk(1),50,'b','filled')
scatter(p.xk(2),p.yk(2),50,'r','filled')
grid on