ChirpSignal.ChirpSignal
— ModuleChirpSignal
Chirp Swept-frequency sine generator.
ChirpSignal.chirp
— Methodchirp(T, fs, fl, fh; method="linear", phase=0.0) -> Array{Float64,1}
Chirp Swept-frequency sine generator.
Arguments
T
: signal's length in secondfs
: sampling ratefl
: lower frequency at the ending time step, fl <= fsfh
: higher frequency at the ending time step, fh <= fsphase
: phase of the chirp sigal, like sin(wt + phase)method
: available methods are 'linear','quadratic','exponential' and 'logarithmic'; the default is 'linear'
ChirpSignal.chirp
— Methodchirp(T, fs, f::Function; phase=0.0) -> Array{Float64,1}
Function customizable chirp swept-frequency sine generator.
Arguments
T
: signal's length in secondfs
: sampling ratef
: function that defines how the frequency changes vs timephase
: phase of the chirp sigal, like sin(wt + phase)