how to plot pulse using for loop

i have
clear all
clc
load rrsegB5.mat
for n = 1:length (rr)
b = rr{n};
x = b( :,1)
fs = 60;
t = 1:60;
subplot (2,1,1);
plot (t,x);
Y = fft(x,fs);
y = Y(1:fs/2);
p = abs (y);
f = (0:fs/2-1)*fs/fs;
subplot(2,1,2);
plot (f,p)
end
this data type is segmented, i want to plot this pulse continues, what should i fix?

Réponses (0)

Catégories

En savoir plus sur Loops and Conditional Statements 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!

Translated by