i keep getting syntax error please help
Show older comments
x_p = -0.3906sin(0.559t) + 156.25cos(0.559t); % steady-state motion
Answers (1)
Luca Ferro
on 1 May 2023
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);
Categories
Find more on Formula Manipulation and Simplification in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!