how to plot pulse using for loop
Mostrar comentarios más antiguos
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?
Respuestas (0)
Categorías
Más información sobre Loops and Conditional Statements en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!