i want to create a single dimensional array in MATLAB inside for loop, please help with below code:
count = 0;
for i=1:10
arr = count;
count = count+1;
end
when i execute this small code i got 9 as result for arr.
Instead of this i want to have an array arr with 10 values of count for each iteration of i, please help.....