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);
Best Answer