MATLAB: For loop

for loop

i have a=2×10 i need to use second row element how can i do it
i=1:length(a) i get elements of first row then how abt second row
please help me

Best Answer

a(1,:) %first row
a(2,:) %second row