File:Radar echo signal sequence.pdf

Description
English: Echo signal sequence of a radar signal.
Italiano: Sequenza segnale eco di un segnale radar.
Date
Source Own work
Author Luca Ghio
Permission
(Reusing this file)
Public domain I, the copyright holder of this work, release this work into the public domain. This applies worldwide.
In some countries this may not be legally possible; if so:
I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.
Category:Self-published work#Radar%20echo%20signal%20sequence.pdfCategory:PD-self#Radar%20echo%20signal%20sequence.pdf
gnuplot source
InfoField
click to expand
pkg load signal
close all
#clear all
n=1000;
x=zeros(1,n);
x(1:100)=ones(1,100);
figure
set(gca,'FontSize',14)
stem(x, 'k')
xlabel('n')
title('x(n)')
axis([0 1000 -0.5 1.5])
grid on
D=200;
x_shift=[zeros(1,D) x(1:end-D)];
g=0.05*randn(1,n);
alpha=0.3;
r=alpha*x_shift+g;
z=xcorr(r,x);
figure
set(gca,'FontSize',14)
stem(r,'k')
xlabel('n')
title('r(n)')
axis([0 1000 -0.5 1.5])
grid on
figure
set(gca,'FontSize',14)
stem([-n+1:n-1],z,'k')
xlabel('n')
title('z(n)')
grid on
Category:Images with Octave source code Category:Created with GNU Octave Category:Plots of discrete time Category:Radar signal processing
Category:Created with GNU Octave Category:Images with Octave source code Category:PD-self Category:Plots of discrete time Category:Radar signal processing Category:Self-published work