Sign in

Not a member? | Forgot your Password?

Search matlab

Search tips

Subscribe to matlab

Search tips

Free PDF Downloads

A Quadrature Signals Tutorial: Complex, But Not Complicated

Understanding the 'Phasing Method' of Single Sideband Demodulation

Complex Digital Signal Processing in Telecommunications

Introduction to Sound Processing

C++ Tutorial

Introduction of C Programming for DSP Applications

Fixed-Point Arithmetic: An Introduction

Cascaded Integrator-Comb (CIC) Filter Introduction

Discussion Groups

IIR Filter Design Software

See Also

Embedded SystemsFPGA

Discussion Groups | Matlab DSP | Chirp signal display in matlab

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

  

Post a new Thread



Is this thread worth a thumbs up?

0

Chirp signal display in matlab - Ishtiaque Ahmed - Jan 29 8:33:31 2008

  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.





Re: Chirp signal display in matlab - Nandan Das - Jan 30 7:12:35 2008

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





Re: Chirp signal display in matlab - Ishtiaque Ahmed - Jan 31 8:31:52 2008

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.