Frage


Help with creating an array from two smaller arrays in a for loop
Hi guys, I am trying to create a 12x1 array (Fv) from two 1x6 arrays (Mx1 and Mx2). I want the 12x1 array to be populated by th...

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
Why is the If Statement Not Working?
Brilliant, Stephen, Thank you!

etwa 2 Jahre vor | 0

Frage


Why is the If Statement Not Working?
Hi guys, I am trying to create a simple If Statement within a for loop, but I am not getting the correct results. I am running...

etwa 2 Jahre vor | 2 Antworten | 0

2

Antworten

Beantwortet
Help with jumping one position using circshift function in a for loop
Hi guys, thank you for your repsonses. Sorry for the confusion for the final Tn matrix. It was a poor way of getting across my...

etwa 2 Jahre vor | 0

Frage


Help with jumping one position using circshift function in a for loop
Hi there, I am trying to create a transformation matrix for the matrix stiffness method, and to save time I am using the circsh...

etwa 2 Jahre vor | 4 Antworten | 0

4

Antworten

Frage


Skipping Iterations in a For Loop
Hi there, I have a vector FEM = [-16 16 -18 12 -6 6] I want to add together (16 + -16), (-18 +_16). (12-18) and (6 + -6) I ha...

mehr als 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Combining vectors in a for loop to form a final matrix
Hi there, I am writing a script to solve problems using the Moment Distribution Method for structural analysis. I have 4 loops ...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
How to index a matrix other than using curly brackets
Thanks for your help, guys

mehr als 2 Jahre vor | 0

Frage


How to index a matrix other than using curly brackets
Hi there, I have a matrix whereby I want to shift the values of the matrix by a given amount,. The matrix that I want to shift ...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort