can anyone suggest me code for generating radar signal using barker code sequences.

8 views (last 30 days)
used phasecodedwaveform function and generated barker code sequence in pulse format but i want it to be in sinusoidal.

Answers (2)

Bjorn Gustavsson
Bjorn Gustavsson on 22 May 2014
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
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

Community Treasure Hunt

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

Start Hunting!