i keep getting syntax error please help

1 Ansicht (letzte 30 Tage)
firas
firas am 1 Mai 2023
Beantwortet: Luca Ferro am 1 Mai 2023
x_p = -0.3906sin(0.559t) + 156.25cos(0.559t); % steady-state motion

Antworten (1)

Luca Ferro
Luca Ferro am 1 Mai 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);

Kategorien

Mehr zu Functions finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by