MATLAB: Loop

MATLAB

for n=1:length(theta_o)
AF(n,:)=1/N*(sin(…
end
here please explain AF(n,:) means

Best Answer

The n th row of the matrix variable AF. The colon stands for all indices, and MATLAB indexes by row-then-column. Hence, AF(n,:) means "nth row, all columns".
Related Question