Writing an number array in specific format

2 Ansichten (letzte 30 Tage)
Damith
Damith am 12 Mär. 2016
Kommentiert: Damith am 12 Mär. 2016
Hi,
How can I write a number array like this below in MATLAB?
aa= 1 2 3 5 6 7 9 10 11 13 14 15...upto 10000
Thanks in advance.

Akzeptierte Antwort

James Tursa
James Tursa am 12 Mär. 2016
aa = 1:10000;
aa(4:4:end) = [];

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by