Filter löschen
Filter löschen

help with plotting function of time

1 Ansicht (letzte 30 Tage)
random1072
random1072 am 29 Apr. 2020
Bearbeitet: Geoff Hayes am 29 Apr. 2020
" Plot on the same graph the motion of x4(t) in the original domain as well as the eigenspace {x4}B (t)." Really confused on how to even do this. Please help. Shown is my code.
  2 Kommentare
Geoff Hayes
Geoff Hayes am 29 Apr. 2020
Please include (via attachment or by copying and pasting) your code to this question rather than including screen shots of the code.
random1072
random1072 am 29 Apr. 2020
Bearbeitet: Geoff Hayes am 29 Apr. 2020
M = [11 0 0 0 0 0 0;
0 18 0 0 0 0 0;
0 0 17 0 0 0 0;
0 0 0 17 0 0 0;
0 0 0 0 13 0 0;
0 0 0 0 0 10 0;
0 0 0 0 0 0 12]
K = 108; % altering stiffness so system will become stable
% K value that makes system stable = 108 N/M
% initialize the end masses as pushing outward (i.e. x1 @ t=0 = −1 unit and x7 @ t=0 = +1 unit) and track
% the behavior of the middle mass x4 as a function of increasing time
K_Matrix_New = [(-K-K) K 0 0 0 0 0; % new K matrix where x1 and x7 are pushed out
K (-K-K) K 0 0 0 0;
0 K (-K-K) K 0 0 0;
0 0 -K 0 K 0 0;
0 0 0 -K (K+K) -K 0;
0 0 0 0 -K (K+K) -K;
0 0 0 0 0 -K (K+K) ]
K_tilde_New = M^(-1/2)*K_Matrix_New*M^(-1/2)
e = eig(K_tilde_New) % gives my eigenvalues where none are imaginary
w_new = sqrt(e) % gives the value of the frequencies +/-

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by