| Signal Processing Toolbox | ![]() |
Generate a Gaussian-modulated sinusoidal pulse.
Syntax
yi=gauspuls(t,fc,bw) yi=gauspuls(t,fc,bw,bwr) [yi,yq]=gauspuls(...) [yi,yq,ye]=gauspuls(...) tc=gauspuls('cutoff',fc,bw,bwr,tpe)
Description
gauspuls
generates Gaussian-modulated sinusoidal pulses.
yi returns a unity-amplitude Gaussian RF pulse at the times indicated in array = gauspuls(t,fc,bw)
t, with a center frequency fc in hertz and a fractional bandwidth bw, which must be greater than 0. The default value for fc is 1000 Hz and for bw is 0.5.
yi returns a unity-amplitude Gaussian RF pulse with a fractional bandwidth of = gauspuls(t,fc,bw,bwr)
bw as measured at a level of bwr dB with respect to the normalized signal peak. The fractional bandwidth reference level bwr must be less than 0, because it indicates a reference level less than the peak (unity) envelope amplitude. The default value for bwr is -6 dB.
[yi,yq] returns both the in-phase and quadrature pulses. = gauspuls(...)
[yi,yq,ye] returns the RF signal envelope. = gauspuls(...)
tc returns the cutoff time = gauspuls('cutoff',fc,bw,bwr,tpe)
tc (greater than or equal to 0) at which the trailing pulse envelope falls below tpe dB with respect to the peak envelope amplitude. The trailing pulse envelope level tpe must be less than 0, because it indicates a reference level less than the peak (unity) envelope amplitude. The default value for tpe is -60 dB.
Remarks
Default values are substituted for empty or omitted trailing input arguments.
Examples
Plot a 50 kHz Gaussian RF pulse with 60% bandwidth, sampled at a rate of 1 MHz. Truncate the pulse where the envelope falls 40 dB below the peak.
tc=gauspuls('cutoff',50e3,0.6,[],-40); t=-tc : 1e-6 : tc; yi=gauspuls(t,50e3,0.6); plot(t,yi)
See Also
|
Generate a swept-frequency cosine. |
|
Compute the cosine of vector/matrix elements (see the MATLAB documentation). |
|
Compute the Dirichlet or periodic sinc function. |
|
Generate a pulse train. |
|
Generate a sampled aperiodic rectangle. |
|
Generate a sawtooth or triangle wave. |
|
Compute the sine of vector/matrix elements (see the MATLAB documentation). |
|
Compute the sinc or sin( t)/ t function. |
|
Generate a square wave. |
|
Generate a sampled aperiodic triangle. |
| freqzplot | gmonopuls | ![]() |