i keep getting syntax error please help

1 回表示 (過去 30 日間)
firas
firas 2023 年 5 月 1 日
回答済み: Luca Ferro 2023 年 5 月 1 日
x_p = -0.3906sin(0.559t) + 156.25cos(0.559t); % steady-state motion

回答 (1 件)

Luca Ferro
Luca Ferro 2023 年 5 月 1 日
to multiply you have to use *.
Assuming you defined or sym t,
x_p = -0.3906*sin(0.559*t) + 156.25*cos(0.559*t);

カテゴリ

Help Center および File ExchangeFunctions についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by