フィルターのクリア

help with plotting function of time

1 回表示 (過去 30 日間)
random1072
random1072 2020 年 4 月 29 日
編集済み: Geoff Hayes 2020 年 4 月 29 日
" 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 件のコメント
Geoff Hayes
Geoff Hayes 2020 年 4 月 29 日
Please include (via attachment or by copying and pasting) your code to this question rather than including screen shots of the code.
random1072
random1072 2020 年 4 月 29 日
編集済み: Geoff Hayes 2020 年 4 月 29 日
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 +/-

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by