Problem in Noised chirp signal
조회 수: 4 (최근 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개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Audio Processing Algorithm Design에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!