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

📄 expression.h

📁 这是我学习数字信号处理时编写的程序!功能就是显示一些常用的函数的图形!并可以做FFT计算!
💻 H
字号:
// Expression.h: interface for the CExpression class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_EXPRESSION_H__505FD9BF_5FC8_45B3_83BE_36B25170CAA0__INCLUDED_)
#define AFX_EXPRESSION_H__505FD9BF_5FC8_45B3_83BE_36B25170CAA0__INCLUDED_
#include <complex>
using namespace std;
#include "Zhangjg_dspDoc.h"
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CExpression  
{
public:
	CExpression();
	virtual ~CExpression();
public:
	void AttenuationSin(int n,double a,double f,double *X);
	void Gauss(int p, int q,double *X,int n);
	void Rectangle(int n,double *X);
	//complex<double> Fft(double *X,int M);
	 void Fft(complex<double> *FD,int M);
	 void  Dft(complex<double> *FD,int M) ;
	 void DrawCoordinate(int stepx, int stepy,int pointx, int pointy,CDC* pDC, CZhangjg_dspDoc* pDoc);
public:
	void ReTriangle(int n, double *X);
	void Triangle(int n,double *X);
	//complex<double> *FD;

};

#endif // !defined(AFX_EXPRESSION_H__505FD9BF_5FC8_45B3_83BE_36B25170CAA0__INCLUDED_)

⌨️ 快捷键说明

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