error using bandpass and pspectrum function
显示 更早的评论
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 个评论
madhan ravi
2019-4-13
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.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Spectral Estimation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!