Check for missing argument or incorrect argument data type in call to function 'resample'
이전 댓글 표시
Im trying to code a simple downsample program and I keep getting this error, and Idk why
My code:
Matrix= readmatrix('DSTXTBU.xlsx');
x=Matrix(:,1);
y=Matrix(:,2);
figure(1)
plot(x,y);
%Downsampling 1
DS1x=x;
XDS1=resample(x,1,80);
DS1y=x;
YDS1=resample(DS1y,1,80);
figure(2)
plot(XDS1,YDS1)
댓글 수: 5
Walter Roberson
2020년 12월 16일
What is class(x)
readmatrix can return non-numeric matrices. You might need to use Headerlines when you read
Asfandyar Malik
2020년 12월 16일
adi glebotzki
2020년 12월 20일
Hi, I have the same problem..
what toolbox did you install?
Walter Roberson
2020년 12월 20일
Signal Processing Toolbox is needed for resample()
답변 (1개)
Ankit Gupta
2021년 3월 9일
2 개 추천
Add it as an addon toolbox from MATLAB itself!
카테고리
도움말 센터 및 File Exchange에서 Multirate Signal Processing에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!