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

2 vues (au cours des 30 derniers jours)
Jesse PARTRIDGE
Jesse PARTRIDGE le 31 Mar 2020
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

Réponses (1)

SaiDileep Kola
SaiDileep Kola le 3 Avr 2020
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

Catégories

En savoir plus sur Language Fundamentals dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by