signals - Linear Frequency Modulated Wave -


i trying generate lfm wave in matlab. using code:

samplerate = 1e8;               % define sample rate of baseband signal (hz) pulsewidth = 10e-6;             % define pulse width (seconds) pulserepititioninterval = 50e-6;% define pulse repetition interval (seconds) bandwidth = 10e6;               % bandwidth of pulse (hz) iphase = 0;                     % initial phase in degrees of icomponent qphase = 90;                    % initial phase in degrees of qcomponent  tvector = 0:1/samplerate:pulsewidth; % vector generate ideal pulse icomponent = chirp(tvector,-bandwidth/2,tvector(end), bandwidth/2,'linear',iphase); qcomponent = chirp(tvector,-bandwidth/2,tvector(end), bandwidth/2,'linear',qphase); iqdata = icomponent + 1i*qcomponent; 

but pulse specification like: pulse width 50e-6 , number of samples in each pulse 1024 , number of pulses 10. please tell changes make in this, or other new have try...


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -