Hi, I'm trying to do the ifft and fft of matrices, but I'm getting unexpected values.
I only don't get any error when dealing with a 1×4 matrix (which is a vector).
When putting, for example, a 2×4 matrix, I obtain and 8×4 matrix, which is not what I expected. I expected a 2×4 matrix again.
When coding the fft and ifft of the matrix, I wrote:
received_signal = fft(a,n)
transmitted signal = ifft(a,n)
where a= matrix and n= dft size (i.e. total number of elements in the matrix)
In addition, I'd like the fft/ifft to calculate the ifft and fft in a row-by-row fashion, since I'm dealing with signals so I don't want the bits to get out of order.
Thanks in advance for your help.
Best Answer