i keep getting syntax error please help

Risposte (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);

Richiesto:

il 1 Mag 2023

Risposto:

il 1 Mag 2023

Community Treasure Hunt

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

Start Hunting!

Translated by