Signal Processing Toolbox Help Desk

chirp

Purpose

Swept-frequency cosine generator.

Syntax

Description

y = chirp(t,f0,t1,f1) generates samples of a linear swept-frequency cosine signal at the time instances defined in array t, where f0 is the instantaneous frequency at time 0, and f1 is the instantaneous frequency at time t1. f0 and f1 are both in Hertz. If unspecified, f0 is 0, t1 is 1, and f1 is 100.

Y = CHIRP(T,F0,T1,F1,'method') specifies alternative sweep method options, where method can be

y = chirp(t,f0,t1,f1,'method',phi) allows an initial phase phi to be specified in degrees. If unspecified, phi is 0.

Default values are substituted for empty or omitted trailing input arguments.

Examples

Compute the spectrogram of a linear chirp:

Compute the spectrogram of a quadratic chirp:

See Also

cos

Cosine of vector/matrix elements (see MATLAB Function Reference).

diric

Dirichlet or periodic sinc function.

gauspuls

Gaussian-modulated sinusoidal pulse generator.

pulstran

Pulse train generator.

rectpuls

Sampled aperiodic rectangle generator.

sawtooth

Sawtooth or triangle wave generator.

sin

Sine of vector/matrix elements (see MATLAB Function Reference).

sinc

Sinc or sin(t)/t function.

square

Square wave generator.

tripuls

Sampled aperiodic triangle generator.



[ Previous | Help Desk | Next ]