Problem in Noised chirp signal
1 回表示 (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!