Effacer les filtres
Effacer les filtres

what is the word need to fill in this blank

2 vues (au cours des 30 derniers jours)
AnhThu Le
AnhThu Le le 15 Oct 2017
Modifié(e) : per isakson le 15 Oct 2017
If x is a vector, and you want to define a variable y according to the equation Y=2X^2, you would need to use array operations. The expression to define y would be:

Réponses (1)

per isakson
per isakson le 15 Oct 2017
Modifié(e) : per isakson le 15 Oct 2017
>> x = 1:4;
>> y = 2*x.^2
y =
2 8 18 32
But wouldn't it had been better to find this in the documentation? Searching the documentation is an essential part of using Matlab. See

Catégories

En savoir plus sur Get Started with MATLAB 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