Check for missing argument or incorrect argument data type in call to function 'resample'
Afficher commentaires plus anciens
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 commentaires
Walter Roberson
le 16 Déc 2020
What is class(x)
readmatrix can return non-numeric matrices. You might need to use Headerlines when you read
Asfandyar Malik
le 16 Déc 2020
adi glebotzki
le 20 Déc 2020
Hi, I have the same problem..
what toolbox did you install?
Walter Roberson
le 20 Déc 2020
Signal Processing Toolbox is needed for resample()
Réponses (1)
Ankit Gupta
le 9 Mar 2021
2 votes
Add it as an addon toolbox from MATLAB itself!
Catégories
En savoir plus sur Multirate Signal Processing dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!