Merge fft data sets
Afficher commentaires plus anciens
Hi,
I made some acoustic experiments. For each experiment I have 10 measurements (hit the object and measure the acoustic response with a microphone -> 10x) and therefore 10 different fft plots. Is there any way to merge these fft curves? My aim is to get 1 curve containing the data from all 10 ffts.
Thanks alot.
2 commentaires
Hi Florian,
Do you mean that you want to see each fft plot on the same graph? If that's the case, it's as simple as using the hold function, for example:
n=1024;
plot(fftshift(abs(fft(randn(1,n)))));
hold all;
plot(fftshift(abs(fft(randn(1,n)))));
If you're just looking to combine the data, then it might be sufficient to just take the mean of the 10 spectra?
Florian Spiegel
le 16 Août 2018
Modifié(e) : Florian Spiegel
le 16 Août 2018
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Fourier Analysis and Filtering dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!