read data from txt file and do FFT in matlab

2 vues (au cours des 30 derniers jours)
Huijie Zhang
Huijie Zhang le 22 Fév 2021
Commenté : Huijie Zhang le 24 Fév 2021
I currently have a txt file data of complex number but it includes some other useless information in the file.
There are 4 chirps numbered as 1,2,3,4 and each chirp has 64 data.
I want to read the data from the file chirp by chirp.
And arrange the samples of the chirps as an array of dimensions (number of chirps) x (samples per chirp) which means 4 x 64 array.
And do the FFT to show the graph.
But I do not know how to process the data in the matlab.
The txt file is in the attachment.
Is there any method to achieve it?
Thank you for the help.
  8 commentaires
Mathieu NOE
Mathieu NOE le 24 Fév 2021
hello
my previous answer was to show (see plot) that the 12 iterations of the 4 chirps give more or less the same results. The plot confirms that all 48 real traces overlay well , and so for the imaginary parts. But it is still unclear to me what you intend to do with the 12 iterations. I was thinking you wanted to do avearge of the 12 iterations , but maybe it's not right.
Huijie Zhang
Huijie Zhang le 24 Fév 2021
hi
Thank you for your help at first.
I want to make the data to an array which size will be 4 by number of samples. For example, in this data1.txt, there are 12 sets of 4x64 complex number data. So I want to make the array to be size maybe 4x768. After doing 2D-FFT. In my understanding is that doing range-FFT along each row and doing doppler-FFT along each column.

Connectez-vous pour commenter.

Réponses (0)

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by