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

used phasecodedwaveform function and generated barker code sequence in pulse format but i want it to be in sinusoidal.

1 Comment

Something like taking the fft() of the pulses ?
A pulse train is the summation of a large number of sinusoidals.

Sign in to comment.

Answers (2)

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
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

Asked:

on 22 May 2014

Answered:

on 22 May 2014

Community Treasure Hunt

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

Start Hunting!