Question


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

ongeveer 2 jaar ago | 1 answer | 0

1

answer

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

ongeveer 2 jaar ago | 0

Question


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

ongeveer 2 jaar ago | 2 answers | 0

2

answers

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

ongeveer 2 jaar ago | 0

Question


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

ongeveer 2 jaar ago | 4 answers | 0

4

answers

Question


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

meer dan 2 jaar ago | 2 answers | 0

2

answers

Question


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

meer dan 2 jaar ago | 1 answer | 0

1

answer

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

meer dan 2 jaar ago | 0

Question


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

meer dan 2 jaar ago | 1 answer | 0

1

answer