A Quadrature Signals Tutorial: Complex, But Not Complicated

Understanding the 'Phasing Method' of Single Sideband Demodulation

Complex Digital Signal Processing in Telecommunications

**Technical discussion about Matlab and issues related to Digital Signal Processing.**

**Is this thread worth a thumbs up?**

Hi, Can anybody help me display the following chirp signal in matlab?? s_tx = A*rect(tau/Tp)*exp(j*2*pi*fc*tau + j*pi*K*tau^2); I do not know how to code 'rect' function in matlab. You can assume arbitrary values for the quantities. Thanks.

_____________________________

A rect function is 1 within a certain range and then 0 outside. So all you have to do to code the "rect" function is to make sure that s_tx is 0 outside of (-tau/Tp,tau/Tp) If you really want to "code" it, you can create a vector with 1s within (-tau/Tp,tau/Tp) and 0 outside and then do a .* (note the dot) with your exp() function. Nandan On Jan 28, 2008 8:34 AM, Ishtiaque Ahmed <p...@yahoo.com> wrote: > Hi, > Can anybody help me display the following chirp signal in matlab?? > > s_tx = A*rect(tau/Tp)*exp(j*2*pi*fc*tau + j*pi*K*tau^2); > > I do not know how to code 'rect' function in matlab. > You can assume arbitrary values for the quantities. > Thanks. >

_____________________________

Hello, I need to know how to find the Chirp rate in a chirp signal. 'K' is the chirp rate in the following equation: s_tx = A*rect(tau/Tp)*exp(j*2*pi*fc*tau + j*pi*K*tau^2); Hopr to hear. Thanks. *Thanks to Nandan. Nandan Das <n...@gmail.com> wrote: A rect function is 1 within a certain range and then 0 outside. So all you have to do to code the "rect" function is to make sure that s_tx is 0 outside of (-tau/Tp,tau/Tp) If you really want to "code" it, you can create a vector with 1s within (-tau/Tp,tau/Tp) and 0 outside and then do a .* (note the dot) with your exp() function. Nandan On Jan 28, 2008 8:34 AM, Ishtiaque Ahmed <p...@yahoo.com> wrote: Hi, Can anybody help me display the following chirp signal in matlab?? s_tx = A*rect(tau/Tp)*exp(j*2*pi*fc*tau + j*pi*K*tau^2); I do not know how to code 'rect' function in matlab. You can assume arbitrary values for the quantities. Thanks.

_____________________________