You are on page 1of 5

nodes=12*[-7.5,0;7.5,0;-7.5,15;7.

5,15;-5,25;5,25;

clc

nodes=12*[-7.5,0;7.5,0;-7.5,15;7.5,15;-5,25;5,25;-5,35;5,35;-15,40;15,40;-25,45;-15,45;-
5,45;5,45;15,45;25,45]

nodes=12*[-7.5,0;7.5,0;-7.5,15;7.5,15;-5,25;5,25;-5,35;5,35;-15,40;15,40;-25,45;-15,45;-
5,45;5,45;15,45;25,45]

Error: The expression to the left of the equals sign is not a valid target for an assignment.

>> TrussElemStiff(29000000,2.5,nodes((3 5,:));

TrussElemStiff(29000000,2.5,nodes((3 5,:));

Error: Unexpected MATLAB expression.

>> nodes=12*[-7.5,0;7.5,0;-7.5,15;7.5,15;-5,25;5,25;-5,35;5,35;-15,40;15,40;-25,45;-15,45;-
5,45;5,45;15,45;25,45]

nodes =

-90 0

90 0

-90 180

90 180

-60 300

60 300

-60 420

60 420
-180 480

180 480

-300 540

-180 540

-60 540

60 540

180 540

300 540

>> nodes=12*[-7.5,0;7.5,0;-7.5,15;7.5,15;-5,25;5,25;-5,35;5,35;-15,40;15,40;-25,45;-15,45;-
5,45;5,45;15,45;25,45]

nodes =

-90 0

90 0

-90 180

90 180

-60 300

60 300

-60 420

60 420

-180 480

180 480

-300 540

-180 540
-60 540

60 540

180 540

300 540

>>

>> nodes=12*[-7.5,0;7.5,0;-7.5,15;7.5,15;-5,25;5,25;-5,35;5,35;-15,40;15,40;-25,45;-15,45;-
5,45;5,45;15,45;25,45]

nodes =

-90 0

90 0

-90 180

90 180

-60 300

60 300

-60 420

60 420

-180 480

180 480

-300 540

-180 540

-60 540

60 540

180 540
300 540

>> nodes=12*[-7.5,0;7.5,0;-7.5,15;7.5,15;-5,25;5,25;

clc

nodes=12*[-7.5,0;7.5,0;-7.5,15;7.5,15;-5,25;5,25;-5,35;5,35;-15,40;15,40;-25,45;-15,45;-
5,45;5,45;15,45;25,45]

nodes=12*[-7.5,0;7.5,0;-7.5,15;7.5,15;-5,25;5,25;-5,35;5,35;-15,40;15,40;-25,45;-15,45;-
5,45;5,45;15,45;25,45]

Error: The expression to the left of the equals sign is not a valid target for an assignment.

>> nodes=12*[-7.5,0;7.5,0;-7.5,15;7.5,15;-5,25;5,25;-5,35;5,35;-15,40;15,40;-25,45;-15,45;-
5,45;5,45;15,45;25,45]

nodes =

-90 0

90 0

-90 180

90 180

-60 300

60 300

-60 420

60 420

-180 480

180 480

-300 540
-180 540

-60 540

60 540

180 540

300 540

>> nodes=12*[-7.5,0;7.5,0;-7.5,15;7.5,15;-5,25;5,25;-5,35;5,35;-15,40;15,40;-25,45;-15,45;-
5,45;5,45;15,45;25,45]

You might also like