Signal Processing

조회 수: 5 (최근 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개)

카테고리

Help CenterFile Exchange에서 Applications에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by