how to plot pulse using for loop
Mostra commenti meno recenti
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?
Risposte (0)
Categorie
Scopri di più su Loops and Conditional Statements in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!