chirp Function

public pure elemental function chirp(t, amp, span, f1Hz, f2Hz) result(rst)

Evaluates a linear chirp function.

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in) :: t

The value of the independent variable at which to evaluate the chirp.

real(kind=real64), intent(in) :: amp

The amplitude.

real(kind=real64), intent(in) :: span

The duration of the time it takes to sweep from the start frequency to the end frequency.

real(kind=real64), intent(in) :: f1Hz

The lower excitation frequency, in Hz.

real(kind=real64), intent(in) :: f2Hz

The upper excitation frequency, in Hz.

Return Value real(kind=real64)

The value of the function at t.


Contents