Writing an number array in specific format

1 次查看(过去 30 天)
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.

采纳的回答

James Tursa
James Tursa 2016-3-12
aa = 1:10000;
aa(4:4:end) = [];

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Types 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by