How to fill a matrix with numbers from a to b ?

31 Ansichten (letzte 30 Tage)
Sarah A
Sarah A am 6 Okt. 2018
Beantwortet: Bruno Luong am 6 Okt. 2018
Hello,
how to fill a matrix with numbers from a=4 to b=40 with increasing factor c=2 for example:
4,6,8,......,38,40.
regards,

Akzeptierte Antwort

Bruno Luong
Bruno Luong am 6 Okt. 2018
A = 4:2:40

Weitere Antworten (0)

Kategorien

Mehr zu Data Types 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!

Translated by