Pregunta


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...

alrededor de 2 años hace | 1 respuesta | 0

1

respuesta

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

alrededor de 2 años hace | 0

Pregunta


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...

alrededor de 2 años hace | 2 respuestas | 0

2

respuestas

Respondida
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...

alrededor de 2 años hace | 0

Pregunta


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...

alrededor de 2 años hace | 4 respuestas | 0

4

respuestas

Pregunta


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...

más de 2 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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 ...

más de 2 años hace | 1 respuesta | 0

1

respuesta

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

más de 2 años hace | 0

Pregunta


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 ...

más de 2 años hace | 1 respuesta | 0

1

respuesta