- Engineering
- Computer Science
- this is what i have on the previous queation clf...
Question: this is what i have on the previous queation clf...
Question details
this is what I have on the previous queation:
clf;
set(gcf,'position',[20 50 600 250], 'paperpositionmode',
'auto')
hold on
nodes=[0 0; 0.5 sqrt(3)/2; 1.5 sqrt(3)/2; 2.5 sqrt(3)/2;3.5
sqrt(3)/2;4 0; 3 0; 2 0; 1 0];
beams=[1 2; 2 3; 3 4; 4 5; 5 6; 6 7; 7 8; 8 9; 9 1; 2 9; 9 3; 3
8; 8 4;4 7; 7 5];
for jj=1:15
plot(nodes(beams(jj,:),1),nodes(beams(jj,:),2))
end
axis equal;
axis([-.5 4.5 -.5 1.5]);
print(gcf,'-dpng', 'truss_bridge_beams.png')
Solution by an expert tutor
