MATLAB: What does x(1,:) do in MATLAB

syntax

What does x(1,:) do in MATLAB ?
eg:
at = sqrt(Po)*exp(-0.5*(1+i*C)*(tau./t0).^(2*m))
a0 = fft(at(1,:));
what does at(1,:) do here ?

Best Answer

"a0" is the Fourier Transform of the first row of "at"
at(2,:) % gives the second row
at(3,:) % gives the third row (and so on)
at(:,1) % gives the first column (and so on)
Related Question