i keep getting syntax error please help
1 次查看(过去 30 天)
显示 更早的评论
x_p = -0.3906sin(0.559t) + 156.25cos(0.559t); % steady-state motion
0 个评论
回答(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);
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!