Function File: irsa_normalize.m
[xpn,fmaxn,xp1,nfac] = irsa_normalize( xp, [fmax] )
Normalize xp to [0, (N-1)/N], compute the last frequency point below or equal to the given bandlimiting frequency fmax and scale it according to the normalization.
Input:
xp : Vector – sampling points
fmax : Scalar – band limiting frequency of signal sampled at xp
Output:
xpn : Vector – normalized sampling points
fmaxn : Scalar – last discrete frequency corresponding to xpn
xp1 : Scalar – offset of xp ( xp(1) )
nfac : Scalar – normalization factor
Note:
You get xp from xpn by computing xp
=
xpn*
nfac+
xp1. Due to discretization the actually used fmax for xp is fmaxn/
nfac.