Signal Processing

5 vues (au cours des 30 derniers jours)
contessa mima
contessa mima le 29 Fév 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 commentaires
UJJWAL
UJJWAL le 29 Fév 2012
Do you need to take inputs from a real DME system ?? Or do you just want to simulate ?
contessa mima
contessa mima le 29 Fév 2012
i want just to simulate. for the signal, i'll try to generate it by codes if it is not so complicated.

Connectez-vous pour commenter.

Réponse acceptée

UJJWAL
UJJWAL le 29 Fév 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 commentaires
UJJWAL
UJJWAL le 29 Fév 2012
meetukme@gmail.com
You can contact me there
contessa mima
contessa mima le 29 Fév 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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Applications dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by