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

27 visualizzazioni (ultimi 30 giorni)
create vectors of the even whole numbers

Risposta accettata

Juliana Damaceno
Juliana Damaceno il 19 Gen 2018
A = 32:2:75

Più risposte (3)

Anuj
Anuj il 28 Feb 2014
A=[32:2:75]

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

Accedi per commentare.


Stephen John
Stephen John il 3 Nov 2024

A = 32:2:74;

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by