Question: matrix analysis of structures: edit the code of the function below, DrawBeam, which is for 2D frames, to work for a 3d frame with coordinateds

matrix analysis of structures: edit the code of the function below, "DrawBeam", which is for 2D frames, to work for a 3d frame with coordinateds X, Y, Z.

function DrawBeam(NODES,MEMBERS,CL,LW) %CL:Color %LW: Linewidth NOM = size(MEMBERS,1);%Number of members for i=1:NOM NID = MEMBERS(i,1:2); XY = NODES(NID,:); line(XY(:,1),XY(:,2),'color',CL,'linewidth',LW); end;

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!