Engee documentation

Chirp Signal

A sinusoid with a linearly varying frequency.

chrip signal

Description

The Chirp Signal block generates a sinusoidal signal whose frequency varies linearly with time. You can use this block for spectral analysis of nonlinear systems. The block generates a scalar or vector output.

The Initial frequency, Target time, and Frequency at target time parameters define the output of the block. You can specify any (or all) of these variables as scalars or arrays. All parameters specified as arrays must have the same dimensionality. The block expands scalar parameters to have the same dimensionality as parameters as arrays. The output of the block has the same dimensionality as the parameters.

Restrictions

  • The simulation start time must be 0.

  • Use in a subsystem with the Enable block. Whenever the subsystem is active, the output of the block is as if the subsystem had been on continuously for the entire simulation time.

Ports

Output

Port_1 - output signal
scalar | vector | matrix

A sinusoidal signal whose frequency increases linearly with time. Can be a scalar, vector, matrix or ND array.

Data types: Float64.

Parameters

Initial frequency - initial frequency (Hz)
0.1 (by default) | scalar | vector | matrix

The initial frequency of the signal as a scalar, vector, matrix or ND array.

Usage in program code

Block parameter

f1

Value

scalar | vector | matrix

By default

0.1

Target time - Target time (seconds)
100 (by default) | scalar | vector | matrix

The time in seconds for the frequency to reach the Frequency at target time. Target time can be specified as a scalar, vector or matrix. Once the target time is reached, the frequency continues to change at the same rate.

Usage in program code

Block parameter

T

Value

scalar | vector | matrix

By default

1000

Frequency at target time - frequency, Hz
1 (by default) | scalar | vector | matrix

Frequency (in hertz) of the signal at the target time as a scalar, vector, matrix or ND array.

Usage in program code

Block parameter

f2

Value

scalar | vector | matrix

By default

1

Examples