photo

Scott Banks


Last seen: 4 days ago Active since 2023

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


Problem Using Nested For Loops
Dear all, I have the following problem. I want to manipulate the following matrix: X = [1 2 3 4 5; 6 7 8 9 10; 1...

15 days ago | 2 answers | 0

2

answers

Question


Statically Inderteminant Beam Using Finite Difference Method
Dear all I am trying to code for the displacements of statically Inderterminant beam using the finite difference method. It app...

2 months ago | 0 answers | 0

0

answers

Answered
How to stop unwanted rows being added when constructing a matrix in a for loop
Briiliant, thanks guys for all youre help!

3 months ago | 0

Question


How to stop unwanted rows being added when constructing a matrix in a for loop
Hi there, just a simple question I think. I am trying to construct a matrix in a quick way using a for loop. Because the v...

3 months ago | 4 answers | 0

4

answers

Question


Style Property Not Being Recognised
Hi all, I am trying to format a table - border, border colour etc. I am trying to do this programmatically from the Mathwoks pa...

5 months ago | 2 answers | 0

2

answers

Question


Shooting Method with Secant Method
Hi all, I am working on a problem to solve a second order differential equation. I am using the numerical method 'the shooting ...

5 months ago | 1 answer | 0

1

answer

Question


Why is this simple loop not working?
Hi there, I think I have used this procedure for the following loop many times, but now it isn't working: h = 3 z = 4 y = ...

5 months ago | 2 answers | 0

2

answers

Question


Why are these interations not working?
Hi there, I am trying to perform simple iterations to solve a pair of simultaneous equations. However, I am not getting the cor...

6 months ago | 1 answer | 0

1

answer

Question


How can I put an output from the display function in a table?
Hi there, I am wondering how I can put the results using the display function into a table. This is the code: Section = ['254...

8 months ago | 2 answers | 0

2

answers

Question


Why is this happening?
Hi Guys, I firstly want to apologise, because I am going to post a lot of code, but hopefully you won't need to go through all ...

1 year ago | 0 answers | 0

0

answers

Question


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

1 year ago | 2 answers | 0

2

answers

Question


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

1 year ago | 2 answers | 0

2

answers

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

1 year ago | 1 answer | 0

1

answer

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

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

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

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

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

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

1 year ago | 1 answer | 0

1

answer

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

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

1 year ago | 1 answer | 0

1

answer