turn addition and multiplication into a code
2 次查看(过去 30 天)
显示 更早的评论
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)
0 个评论
回答(1 个)
madhan ravi
2020-10-27
syms x
y = 0.5*0.024*(x^2+(0.06+x)^2);
I suggest you to do MATLAB On-ramp course.
2 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!