Help with state representation of my 3-mass 2-spring system

4 views (last 30 days)
Starting from this information, I have managed to obtain this state representation. I wanted to ask for your confirmation to know if it is correct, or if it is not, where I made a mistake. Thank you for your attention.
this are my matrix :
A = [ 0 1 0 0 0 0;
-k0/m1 0 k0/m1 0 0 0;
0 0 0 1 0 0;
0 0 -k0/m2 0 k0/m2 0;
0 0 0 0 0 1;
0 0 0 0 -k0/m3 0];
B = [1/m1;
0;
0;
0;
0;
0];
C = [1 0 0 0 0 0];
D = 0;
  3 Comments
Cristian Rohozneanu
Cristian Rohozneanu on 17 Jan 2024
Edited: Cristian Rohozneanu on 17 Jan 2024
I apologize; I forgot to mention that the cubic term should not be considered. Therefore, k(\delta_i) = k_0 * \delta_i
Cristian Rohozneanu
Cristian Rohozneanu on 17 Jan 2024
Edited: Cristian Rohozneanu on 17 Jan 2024
Furthermore, the matrices I have derived are as follows. I apologize for any confusion.
A = [0 0 0 1 0 0;
0 0 0 0 1 0;
0 0 0 0 0 1;
-(k0/m1) (k0/m1) 0 0 0 0;
(k0/m2) -(2*k0/m2) (k0/m2) 0 0 0;
0 (k0/m3) -(k0/m3) 0 0 0];
B = [1/m1; 0; 0; 0; 0; 0];
C = [0 1 0 0 0 0];

Sign in to comment.

Answers (1)

James Tursa
James Tursa on 17 Jan 2024
The k terms in the equations above appear to be non-linear. Your A matrix doesn't account for the cubic parts.
  1 Comment
Cristian Rohozneanu
Cristian Rohozneanu on 17 Jan 2024
Edited: Cristian Rohozneanu on 17 Jan 2024
I forgot to mention that the cubic term should not be considered. Therefore, k(\delta_i) = k_0 * \delta_i
Furthermore, the matrices I have derived are as follows. I apologize for any confusion.
A = [0 0 0 1 0 0;
0 0 0 0 1 0;
0 0 0 0 0 1;
-(k0/m1) (k0/m1) 0 0 0 0;
(k0/m2) -(2*k0/m2) (k0/m2) 0 0 0;
0 (k0/m3) -(k0/m3) 0 0 0];
B = [1/m1; 0; 0; 0; 0; 0];
C = [0 1 0 0 0 0];

Sign in to comment.

Categories

Find more on Systems of Nonlinear Equations in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!