Signal Processing
6 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
UJJWAL
il 29 Feb 2012
Do you need to take inputs from a real DME system ?? Or do you just want to simulate ?
Risposta accettata
UJJWAL
il 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 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Applications in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!