create a vector of the even whole numbers between 31 and 75

28 vues (au cours des 30 derniers jours)
aisha khan
aisha khan le 28 Fév 2014
create vectors of the even whole numbers

Réponse acceptée

Juliana Damaceno
Juliana Damaceno le 19 Jan 2018
A = 32:2:75

Plus de réponses (3)

Anuj
Anuj le 28 Fév 2014

Khushboo Kumari
Khushboo Kumari le 18 Déc 2017
A=[31:2:75]
  1 commentaire
Walter Roberson
Walter Roberson le 18 Déc 2017
No, that would produce 31, 33, 35, and so on, which are odd whole numbers not even whole numbers.

Connectez-vous pour commenter.


Stephen John
Stephen John le 3 Nov 2024

A = 32:2:74;

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by