Signal Processing

6 次查看(过去 30 天)
contessa mima
contessa mima 2012-2-29
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 个评论
UJJWAL
UJJWAL 2012-2-29
Do you need to take inputs from a real DME system ?? Or do you just want to simulate ?
contessa mima
contessa mima 2012-2-29
i want just to simulate. for the signal, i'll try to generate it by codes if it is not so complicated.

请先登录,再进行评论。

采纳的回答

UJJWAL
UJJWAL 2012-2-29
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 个评论
UJJWAL
UJJWAL 2012-2-29
meetukme@gmail.com
You can contact me there
contessa mima
contessa mima 2012-2-29
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

请先登录,再进行评论。

更多回答(0 个)

产品

Community Treasure Hunt

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

Start Hunting!

Translated by