# Fourier Transform of an array of IQ pairs

2 views (last 30 days)
Shanice Kelly on 13 Jan 2021
Answered: David K. on 13 Jan 2021
We have a 32x1024 matrix of 512 sets of IQ pairs. We need to take the fourier transform of each of the 512 sets (and the corresponding 32 rows). What MATLAB function can we use to do this? We are trying to set it up in a loop so it will cycle through all 512 column sets.
##### 0 CommentsShow -2 older commentsHide -2 older comments

Sign in to comment.

### Answers (1)

David K. on 13 Jan 2021
The fft function has a dimension input that allows you to specify which dimension of a matrix you are taking the fft's over.
So, assuming you can make your IQ data into a 3 dimensional matrix of size 32x1024x512, and the data that corresponds to what you would want to take the fft of is the 1024 length dimension. The fft's can be easily calculated with the following line.
allFFTs = fft(yourData,[],2);
##### 0 CommentsShow -2 older commentsHide -2 older comments

Sign in to comment.

### Categories

Find more on Fourier Analysis and Filtering in Help Center and File Exchange

R2020a

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!