⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lin_resp.h

📁 digital filter designer s handbook header files
💻 H
字号:
//
//  File = lin_resp.h
//

#ifndef _LIN_RESP_H_
#define _LIN_RESP_H_

#include "fir_resp.h"
#include "lin_dsgn.h"

class LinearPhaseFirResponse : public FirFilterResponse
{
public:

  //--------------------------------------------------------
  // default constructor
  
  LinearPhaseFirResponse( );
  
  //----------------------------------------------------------
  //  alternate constructor that provides interactive
  //  setting of configuration parameters
  
  LinearPhaseFirResponse( LinearPhaseFirDesign *filter_design,
                          istream& uin,
                          ostream& uout );
 
  //----------------------------------------
  // method to compute magnitude response 
  // using formulas from Table 12.2
  
  void ComputeMagResp( void );
  
  //--------------------------------
  // method not used until chapter 15
  // omit from Listing 12.x and introdice in chap 15
  double GetStopbandPeak(void);
  
                         
private:

  // filter band configuration: 1 = lowpass,  2 = highpass,
  //                            3 = bandpass, 4 = bandstop
  //int Band_Config;
  //int Fir_Type;
  
  // these vars are used for band searching in chap15
  //int N1, N2, N3, N4;
};

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -