turn addition and multiplication into a code

i am trying to write teh function y as an eqaution for x so the equation is y=0.5*0.024(x^2+(0.06+x)
^2)

답변 (1개)

madhan ravi
madhan ravi 2020년 10월 27일

0 개 추천

syms x
y = 0.5*0.024*(x^2+(0.06+x)^2);
I suggest you to do MATLAB On-ramp course.

카테고리

도움말 센터File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

질문:

2020년 10월 27일

댓글:

2020년 10월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by