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!