expression.h
来自「这是我学习数字信号处理时编写的程序!功能就是显示一些常用的函数的图形!并可以做F」· C头文件 代码 · 共 35 行
H
35 行
// 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 + =
减小字号Ctrl + -
显示快捷键?