i keep getting syntax error please help
显示 更早的评论
x_p = -0.3906sin(0.559t) + 156.25cos(0.559t); % steady-state motion
回答(1 个)
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);
类别
在 帮助中心 和 File Exchange 中查找有关 Formula Manipulation and Simplification 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!