storing data in an array
Mostrar comentarios más antiguos
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!!
Respuestas (1)
Andrei Bobrov
el 18 de En. de 2012
eg:
i1 = 1:5;
a1 = i1;
OR
a1 = 1:5;
Categorías
Más información sobre Introduction to Installation and Licensing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!