Create a vector of all the even positive integers smaller than or equal to 100 in decreasing order and save it into variable evens.
16 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Ishan Pai
am 24 Mai 2020
Kommentiert: Ishan Thakur
am 1 Aug. 2020
Does anyone know how to solve this question?
Akzeptierte Antwort
Alejandro Peñuelas
am 25 Mai 2020
This is the basics of Matlab. Even though,
% Create a vector from 100 to 2 decreasing by 2.
evens = 100:-2:2;
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Operators and Elementary Operations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!