can anyone suggest me code for generating radar signal using barker code sequences.
Show older comments
used phasecodedwaveform function and generated barker code sequence in pulse format but i want it to be in sinusoidal.
1 Comment
Walter Roberson
on 22 May 2014
Something like taking the fft() of the pulses ?
A pulse train is the summation of a large number of sinusoidals.
Answers (2)
Bjorn Gustavsson
on 22 May 2014
0 votes
Multiply your pulse-code with the carrier-wave (your uncoded sinusoidal) - and preferably the filter characteristics of your transmitter system? Obviously you'll have to take proper care to expand the pulses in your Barker-code properly to match the time-vector for which you calculate the sinusoidal.
HTH
Honglei Chen
on 22 May 2014
You can use phased.PhaseCodedWaveform if you have access to Phased Array System Toolbox.
Here is the code that will generate a length-4 barker code and then display its ambiguity function plot along zero Doppler
myWav = phased.PhaseCodedWaveform('Code','Barker')
x = step(myWav);
ambgfun(x,myWav.SampleRate,myWav.PRF,'Cut','Doppler')
HTH
Categories
Find more on Transmitters and Receivers in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!