Error using resample. You must specify the down-sampling parameter Q in conjunction with the up-sampling parameter P.
Afficher commentaires plus anciens
I am trying to upsample a signal with a 100 Hz sampling rate to a 1926 Hz sampling rate. This is my code, but I keep getting the error 'You must specify the down-sampling parameter Q in conjunction with the up-sampling parameter P.'
clear
clc
close all
filename = 'some filename';
T = readtable(filename);
B=T(:,3);
BResampled = resample(B, 1926, 100);
writematrix(BResampled,'some filename.xlsx','Sheet',1,'Range','D2')
1 commentaire
FRANCESCO SERRACCA
le 16 Mai 2024
I have the same problem but I have data as a matrix.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Multirate Signal Processing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!