Effacer les filtres
Effacer les filtres

Echo+noise signal

4 vues (au cours des 30 derniers jours)
Mehmet Özgür Güzel
Mehmet Özgür Güzel le 1 Août 2022
Commenté : Chunru le 9 Août 2022
Hello, I want to create an artificial echo+noise signal, how can I create it?
  2 commentaires
Abderrahim. B
Abderrahim. B le 1 Août 2022
Modifié(e) : Abderrahim. B le 1 Août 2022
Which kind of Echo (RDARA, SONAR, ..)? and Which type of noise you want to add to this echo ?
Adam Danz
Adam Danz le 1 Août 2022
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.

Connectez-vous pour commenter.

Réponse acceptée

Chunru
Chunru le 2 Août 2022
% 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 commentaires
Mehmet Özgür Güzel
Mehmet Özgür Güzel le 8 Août 2022
What do pri, tau and pr mean?
Chunru
Chunru le 9 Août 2022
PRI for pulse repetition interval; tau for delay; PW for pulse width

Connectez-vous pour commenter.

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by