Windowing functions. More...
Functions | |
vec | itpp::hamming (int size) |
Hamming window. | |
vec | itpp::hanning (int n) |
Hanning window. | |
vec | itpp::hann (int n) |
Hanning window compatible with matlab. | |
vec | itpp::blackman (int n) |
Blackman window. | |
vec | itpp::triang (int n) |
Triangular window. | |
vec | itpp::sqrt_win (int n) |
Square root window. |
Windowing functions.
vec itpp::hamming | ( | int | size | ) |
Hamming window.
The n
size Hamming window is a vector where the
th component is
Definition at line 37 of file window.cpp.
References itpp::cos(), and itpp::pi.
Referenced by itpp::fir1(), and itpp::FIR_Fading_Generator::Jakes_filter().
vec itpp::hanning | ( | int | n | ) |
Hanning window.
The n
size Hanning window is a vector where the
th component is
Observe that this function is not the same as the hann() function which is defined as in matlab.
Definition at line 50 of file window.cpp.
References itpp::cos(), and itpp::pi.
Referenced by itpp::spectrum().
vec itpp::hann | ( | int | n | ) |
Hanning window compatible with matlab.
The n
size Hanning window is a vector where the
th component is
Definition at line 61 of file window.cpp.
References itpp::cos(), and itpp::pi.
vec itpp::blackman | ( | int | n | ) |
Blackman window.
The n
size Blackman window is a vector where the
th component is
Definition at line 71 of file window.cpp.
References itpp::cos(), and itpp::pi.
vec itpp::triang | ( | int | n | ) |
Triangular window.
The n
size triangle window is a vector where the
th component is
for n
odd and for n
even
Definition at line 81 of file window.cpp.
vec itpp::sqrt_win | ( | int | n | ) |
Square root window.
The square-root of the Triangle window. sqrt_win(n) = sqrt(triang(n))
Definition at line 97 of file window.cpp.
References itpp::sqrt().
Generated on Wed Dec 7 2011 03:39:43 for IT++ by Doxygen 1.7.4