Write Matlab code to evaluate 14x^2+2x + 4 and assign it to y.

2 次查看(过去 30 天)
I am unsure where to begin with this. I am sure it is very simple, i am new at all of this so am trying to get me head around it. I have looked everywhere and cant find anything that helps. Thanks

回答(1 个)

SaiDileep Kola
SaiDileep Kola 2020-4-3
It is similar to evaluating expressions in any other programming language, for instance you do it as
y = 14*(x^2) + 2*x +4;
for further study you can follow the above comment

类别

Help CenterFile Exchange 中查找有关 Language Fundamentals 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by