i have an PPG signal array of dimension of 1440000x1. my sampling rate is 48000 and i recorded the signal for 30 second. How do I eliminate the first 5 seconds of my signal? Please do help. Thanks in advance.

1 visualizzazione (ultimi 30 giorni)
my code is as follows: num=(1:1:size(x)); t=num/48000; plot(t,x);

Risposte (1)

Sindhu Priya
Sindhu Priya il 9 Mar 2017
Modificato: Sindhu Priya il 9 Mar 2017
I think changing the plot function like this may help you
y=48000*5;
plot(t(y:end),x(y:end));

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by