error using bandpass and pspectrum function
Mostra commenti meno recenti
I am trying to band filter a response saved as .txt file and display the power spectrum
it returns the error : Undefined function 'bandpass' for input arguments of type 'double'.
it returns the same error for pspectrum.
kindly help.
load pop.txt; % brings in ASCII text file containing pressure values
bandpass(pop, [880 1130], fs); % trying to filter the signal for centre frequency 1kHz and fs sampling rate
pspectrum(pop,fs);
1 Commento
madhan ravi
il 13 Apr 2019
Which version of MATLAB are you using ? https://in.mathworks.com/help/signal/ref/bandpass.html#mw_9d77f8b5-23ac-4214-85c6-cf994d61526b_seealso - released in 2018a.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Spectral Estimation 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!