i keep getting syntax error please help

回答(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);

类别

在 帮助中心 和 File Exchange 中查找有关 Dynamic System Models 的更多信息

提问:

2023-5-1

Community Treasure Hunt

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

Start Hunting!

Translated by