질문


Combining multiple matrices into a single vector
Hi there, have some matrices that I would like to combine into a single vector. For example: T1 = [2 3; 4 2] T2 = [1...

2년 초과 전 | 답변 수: 2 | 0

2

답변

질문


How best and most efficient way to build this matrix
Hi guys, I am wondering what is the best and most efficient way to build this matrix using loops and functions? Rather than inp...

2년 초과 전 | 답변 수: 2 | 0

2

답변

질문


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

2년 초과 전 | 답변 수: 1 | 0

1

답변

답변 있음
Why is the If Statement Not Working?
Brilliant, Stephen, Thank you!

2년 초과 전 | 0

질문


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

2년 초과 전 | 답변 수: 2 | 0

2

답변

답변 있음
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...

2년 초과 전 | 0

질문


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

2년 초과 전 | 답변 수: 4 | 0

4

답변

질문


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

2년 초과 전 | 답변 수: 2 | 0

2

답변

질문


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

2년 초과 전 | 답변 수: 1 | 0

1

답변

답변 있음
How to index a matrix other than using curly brackets
Thanks for your help, guys

2년 초과 전 | 0

질문


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

2년 초과 전 | 답변 수: 1 | 0

1

답변