a=[1 2 3 4 5 6 7 8 9 0]for i=1:2:7b=a(1,i:i+3)endthis is the code i hve written,now i want this output in the form of a matrix. can someone help
MATLAB: How to display output of all iteration of for loop in a matrix or even a array
arraysfor loop
Best Answer