photo

Scott Banks


Last seen: 4 jours il y a Actif depuis 2023

Followers: 0   Following: 0

Statistiques

  • Thankful Level 3

Afficher les badges

Feeds

Afficher par

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

19 jours il y a | 2 réponses | 0

2

réponses

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

environ 2 mois il y a | 1 réponse | 0

0

réponse

Réponse apportée
How to stop unwanted rows being added when constructing a matrix in a for loop
Briiliant, thanks guys for all youre help!

3 mois il y a | 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 mois il y a | 4 réponses | 0

4

réponses

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 mois il y a | 2 réponses | 0

2

réponses

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 mois il y a | 1 réponse | 0

1

réponse

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 mois il y a | 2 réponses | 0

2

réponses

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 mois il y a | 1 réponse | 0

1

réponse

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 mois il y a | 2 réponses | 0

2

réponses

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

environ un an il y a | 1 réponse | 0

0

réponse

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

environ un an il y a | 2 réponses | 0

2

réponses

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

environ un an il y a | 2 réponses | 0

2

réponses

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

environ un an il y a | 1 réponse | 0

1

réponse

Réponse apportée
Why is the If Statement Not Working?
Brilliant, Stephen, Thank you!

plus d'un an il y a | 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...

plus d'un an il y a | 2 réponses | 0

2

réponses

Réponse apportée
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...

plus d'un an il y a | 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...

plus d'un an il y a | 4 réponses | 0

4

réponses

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

plus d'un an il y a | 2 réponses | 0

2

réponses

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

plus d'un an il y a | 1 réponse | 0

1

réponse

Réponse apportée
How to index a matrix other than using curly brackets
Thanks for your help, guys

plus d'un an il y a | 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 ...

plus d'un an il y a | 1 réponse | 0

1

réponse