Signal with hyperbolic frequency modulation.
[X,IFLAW]=fmhyp(N,P1,P2)
number of points in time
if the number of input arguments (NARGIN) is 2, P1 is a vector containing the two coefficients [F0 C] for an hyperbolic instantaneous frequency (sampling frequency is set to 1). If NARGIN=3, P1 (as P2) is a time-frequency point of the form [Ti Fi]. Ti is in seconds and Fi is a normalized frequency (between 0 and 0.5). The coefficients F0 and C are then deduced such that the frequency modulation law fits the points P1 and P2.
same as P1 is NARGIN=3 (optional)
time row vector containing the modulated signal samples
instantaneous frequency law
fmhyp generates a signal with hyperbolic frequency modulation : X(t) = exp(i.2.pi(F0.t + C/log|t|))