error using bandpass and pspectrum function
Mostrar comentarios más antiguos
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 comentario
madhan ravi
el 13 de Abr. de 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.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Spectral Estimation en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!