00001 00033 #ifndef FILTER_DESIGN_H 00034 #define FILTER_DESIGN_H 00035 00036 #include <itpp/base/vec.h> 00037 00038 00039 namespace itpp { 00040 00055 00056 void polystab(const vec &a, vec &out); 00057 inline vec polystab(const vec &a) { vec temp; polystab(a, temp); return temp; } 00058 void polystab(const cvec &a, cvec &out); 00059 inline cvec polystab(const cvec &a) { cvec temp; polystab(a, temp); return temp; } 00061 00073 00074 void freqz(const cvec &b, const cvec& a, const int N, cvec &h, vec &w); 00075 cvec freqz(const cvec &b, const cvec& a, const int N = 512); 00076 cvec freqz(const cvec &b, const cvec& a, const vec &w); 00077 00078 void freqz(const vec &b, const vec& a, const int N, cvec &h, vec &w); 00079 cvec freqz(const vec &b, const vec& a, const int N = 512); 00080 cvec freqz(const vec &b, const vec& a, const vec &w); 00082 00083 00084 00098 void filter_design_autocorrelation(const int N, const vec &f, const vec &m, vec &R); 00099 00100 00119 void modified_yule_walker(const int m, const int n, const int N, const vec &R, vec &a); 00120 00121 00122 00144 void arma_estimator(const int m, const int n, const vec &R, vec &b, vec &a); 00145 00146 00161 void yulewalk(const int N, const vec &f, const vec &m, vec &b, vec &a); 00162 00163 00164 } // namespace itpp 00165 00166 #endif // #ifndef FILTER_DESIGN_H
Generated on Fri Jan 11 08:51:36 2008 for IT++ by Doxygen 1.3.9.1