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 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Ishan Pai
le 24 Mai 2020
Commenté : Ishan Thakur
le 1 Août 2020
Does anyone know how to solve this question?
Réponse acceptée
Alejandro Peñuelas
le 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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Operators and Elementary Operations dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!