Hello, I want to create an artificial echo+noise signal, how can I create it?

댓글 수: 2

Abderrahim. B
Abderrahim. B 2022년 8월 1일
편집: Abderrahim. B 2022년 8월 1일
Which kind of Echo (RDARA, SONAR, ..)? and Which type of noise you want to add to this echo ?
Adam Danz
Adam Danz 2022년 8월 1일
Mehmet Özgür Güzel's answer moved here as a comment
I will measure distance with laser. I will artificially generate an echo+noise signal, I will generate 100 of these signals and make a pulse integration.
but I don't know what kind of noise and what kind of echo to use. but radar.

댓글을 달려면 로그인하십시오.

 채택된 답변

Chunru
Chunru 2022년 8월 2일

1 개 추천

% generate a waveform
f0 =100; fs=1000; pw = 0.1; pri = 1; npulses = 10;
s = cos(2*pi*f0*(0:1/fs:pw))'; % it can be any other waveform of your choice
s(round(fs*pri)) = 0; % PRI
s = repmat(s, npulses, 1); % npulses
% echo: delayed signal
tau = 0.3; ntau = round(fs*tau); amp = 0.5;
e = amp* circshift(s, ntau);
% add noise
sigma = 0.1;
r = s + e + sigma*randn(size(s));
plot((0:length(s)-1)/fs, r)

댓글 수: 4

Mehmet Özgür Güzel
Mehmet Özgür Güzel 2022년 8월 7일
What is intended to be done in this code, what are the operations performed?
Chunru
Chunru 2022년 8월 8일
The code has comments to indicate what have been done. Can you be more specific?
Mehmet Özgür Güzel
Mehmet Özgür Güzel 2022년 8월 8일
What do pri, tau and pr mean?
Chunru
Chunru 2022년 8월 9일
PRI for pulse repetition interval; tau for delay; PW for pulse width

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Waveform Design and Signal Synthesis에 대해 자세히 알아보기

태그

질문:

2022년 8월 1일

댓글:

2022년 8월 9일

Community Treasure Hunt

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

Start Hunting!

Translated by