Problem in Noised chirp signal
4 views (last 30 days)
Show older comments
I need to make a noised chirp signal between 1s and 2 second, but i couldn't run the code as below i get errors
f0=200;
f1=350;
FS=700;
tglobal=0:1/FS:3;
signal=chirp(tglobal,f0,1,f1);
%plot(tglobal,signal);
noise=randn(length(tglobal),1);
for x=0:1/FS:3
if x>=1 || x<=2
x=x+1;
signal1=randn(size(x.*FS+1),1);
signal=chirp(x,f0,1,f1)+signal1;
figure(1);
end
end
figure(3);
plot(tglobal,signal);
0 Comments
Answers (0)
See Also
Categories
Find more on Audio Processing Algorithm Design 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!