storing data in an array

kindly help me how to store data in an empty array without using iterator index: e.g
a1=[]%empty array
for i=1:5
a1[i]= i;%with iterator
%without iterator ??
end
please. guide me and sorry if I could not write the question correctly!!

类别

帮助中心File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

标签

提问:

ady
2012-1-18

Community Treasure Hunt

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

Start Hunting!

Translated by