Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
filter_resp.h
Package: simulation_wireless_c++.rar [view]
Upload User: jtjnyq9001
Upload Date: 2014-11-21
Package Size: 3974k
Code Size: 1k
Category:
3G develop
Development Platform:
Visual C++
- //
- // File = filter_response.h
- //
- #ifndef _FILTER_RESPONSE_H_
- #define _FILTER_RESPONSE_H_
- #include <complex>
- #include "floatsig.h"
- #include "psmodel.h"
- typedef enum {
- LOWPASS_FILT_CONFIG,
- HIGHPASS_FILT_CONFIG,
- BANDPASS_FILT_CONFIG,
- BANDSTOP_FILT_CONFIG
- } FILT_RESP_CONFIG_T;
- class FilterResponse
- {
- public:
- FilterResponse( int order );
- ~FilterResponse(void);
- std::complex<double> *GetProtoypeZeros( int *num_zeros );
- std::complex<double> *GetProtoypePoles( int *num_poles );
- double GetHZero(void);
- void LowpassDenorm( double cutoff_freq_nfu,
- std::complex<double> **lowpass_pole_locs,
- int *num_lowpass_poles,
- std::complex<double> **lowpass_zero_locs,
- int *num_lowpass_zeros,
- double *h_zero );
- void FilterFrequencyResponse(void);
- protected:
- char *Response_Name;
- int Filt_Order;
- std::complex<double> *Prototype_Pole_Locs;
- std::complex<double> *Prototype_Zero_Locs;
- double H_Zero;
- int Num_Prototype_Poles;
- int Num_Prototype_Zeros;
- std::complex<double> *Denorm_Pole_Locs;
- std::complex<double> *Denorm_Zero_Locs;
- int Num_Denorm_Poles;
- int Num_Denorm_Zeros;
- ofstream *ResponseFile;
- };
- #endif