Signal Processing

44 views (last 30 days)
contessa mima
contessa mima on 29 Feb 2012
In my project, i have to: 1/ Create(generate)a pulse train signal wich is received from an aircraft as a request to the DME system. 2/ create a GUI. 3/Via this GUI, i can take mesurement, check it (freq, delay, ID...).
I need your help.Tnx
  2 Comments
UJJWAL
UJJWAL on 29 Feb 2012
Do you need to take inputs from a real DME system ?? Or do you just want to simulate ?
contessa mima
contessa mima on 29 Feb 2012
i want just to simulate. for the signal, i'll try to generate it by codes if it is not so complicated.

Sign in to comment.

Accepted Answer

UJJWAL
UJJWAL on 29 Feb 2012
Hi, I don't know still exactly how I can help u as the whole GUI thing and all is difficult to post in one answer here. For your convenience I am giving you an idea of how to generate a signal as a pulse train. I hope it would make things a bit easier for you.
delay_random = random('gaussian',0,10,1,1)* 2; % Delay randomly generated
freq_random = random('gaussian',0,10,1,1)*100; % Frequency randomly generated
phase_random = random('gaussian',0,10,1,1)*100; %Phase randomly generated
time = 0:1/50:10 ; %Time from 0 to 10 seconds
pulse_time = 0:1/50:0.5; %Pulse duration from 0 to 0.5 seconds
a=0;
p = 0;
signal = zeros(1,length(0:1/50:delay_random));
while(p <=10)
a = cos(2*pi*freq_random*(0:1/50:0.5) + phase_random);
p=p+0.5;
signal = cat(signal,a);
end
figure(1);
plot(time,a);
You can use this code to write for event when you press a button on your GUI like a button to generate the pulse train. If you want you can add some noise to this code to make things a bit more realistic.. For any other help ,feel free to contact.
The estimation part I leave on you. It depends on what method you have to use
  3 Comments
UJJWAL
UJJWAL on 29 Feb 2012
meetukme@gmail.com
You can contact me there
contessa mima
contessa mima on 29 Feb 2012
this demo is almost what i want to do in my project however the
signal comes from a DME system.
have a look :
http://www.mathworks.com/webex/recordings/devsysml_102808/index.html

Sign in to comment.

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!