i keep getting syntax error please help

조회 수: 6 (최근 30일)
firas
firas 2023년 5월 1일
답변: Luca Ferro 2023년 5월 1일
x_p = -0.3906sin(0.559t) + 156.25cos(0.559t); % steady-state motion

답변 (1개)

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

카테고리

Help CenterFile Exchange에서 Formula Manipulation and Simplification에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by