Problem in Noised chirp signal

4 Ansichten (letzte 30 Tage)
Emre Can Ertekin
Emre Can Ertekin am 25 Jun. 2018
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);

Antworten (0)

Kategorien

Mehr zu Audio Processing Algorithm Design finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by