Error using resample. You must specify the down-sampling parameter Q in conjunction with the up-sampling parameter P.
Show older comments
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 Comment
FRANCESCO SERRACCA
on 16 May 2024
I have the same problem but I have data as a matrix.
Accepted Answer
More Answers (0)
Categories
Find more on Multirate Signal Processing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!