Altes signal in time domain.
x=altes(N) x=altes(N,fmin) x=altes(N,fmin,fmax) x=altes(N,fmin,fmax,alpha)
A scalar with a positive integer value: the number of points in time
a positive scalar: the lower frequency bound (value of the hyperbolic instantaneous frequency law at the sample N), in normalized frequency (default is 0.05).
a positive scalar: the upper frequency bound (value of the hyperbolic instantaneous frequency law at the first sample), in normalized frequency (default is 0.5).
![]() | fmax must be greater than fmin. |
a real scalar >1: the attenuation factor of the envelope (default is 300).
real row vector containing the Altes signal samples. the associated time step is 1/
altes generates the Altes signal in the time domain.
N=128; x=altes(N,0.1,0.45); clf; subplot(211);plot(1:N,x);xlabel(_("time")) y=fft(x); f=(0:(N/2))/N;Nf=size(f,"*"); subplot(212);plot(f',abs(y(1:Nf)));xlabel(_("frequency")) //plots an Altes signal of 128 points whose normalized frequency goes from 0.45 down to 0.1. | ![]() | ![]() |