Plot autocorrelation and power spectrum
Mostra commenti meno recenti
Hi..i'm a beginner in using Matlab. I'm currently trying to generate a Gaussian random numbers, then use it as an input to a low pass filter, cut-off frequency 1000Hz. I have the random number generated as: : f = randn(1000,1) * sqrt(2) + 0; I'd like to ask how can i proceed from here to calculate and plot the autocorrelation and power spectrum at input/output of the filter.
Risposta accettata
Più risposte (1)
Wayne King
il 16 Dic 2013
It depends on what you have exported. If you exported a filter object -- I'll assume this.
Let Hd be your filter object
x = randn(1000,1); % white noise input 1,000 samples in length
y = filter(Hd,x);
1 Commento
Aik Hong
il 16 Dic 2013
Categorie
Scopri di più su Filter Design in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

