資源簡介
自己繪制一段正弦函數(shù)并在時域中繪出,進行FFT和IFFT變換驗證算法和程序的正確性,適合初學者,或為頻譜分析系統(tǒng)做準備條件

代碼片段和文件信息
//?Myfft.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“Myfft.h“
#include?“MyfftDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CMyfftApp
BEGIN_MESSAGE_MAP(CMyfftApp?CWinApp)
//{{AFX_MSG_MAP(CMyfftApp)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG
ON_COMMAND(ID_HELP?CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CMyfftApp?construction
CMyfftApp::CMyfftApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CMyfftApp?object
CMyfftApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CMyfftApp?initialization
BOOL?CMyfftApp::InitInstance()
{
AfxEnableControlContainer();
//?Standard?initialization
//?If?you?are?not?using?these?features?and?wish?to?reduce?the?size
//??of?your?final?executable?you?should?remove?from?the?following
//??the?specific?initialization?routines?you?do?not?need.
#ifdef?_AFXDLL
Enable3dControls(); //?Call?this?when?using?MFC?in?a?shared?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif
CMyfftDlg?dlg;
m_pMainWnd?=?&dlg;
int?nResponse?=?dlg.DoModal();
if?(nResponse?==?IDOK)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?OK
}
else?if?(nResponse?==?IDCANCEL)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?Cancel
}
//?Since?the?dialog?has?been?closed?return?FALSE?so?that?we?exit?the
//??application?rather?than?start?the?application‘s?message?pump.
return?FALSE;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????9216??2009-04-30?10:07??fftwindow\備注.doc
?????文件??????22608??2009-04-29?21:13??fftwindow\Myfft\Myfft.aps
?????文件???????2085??2009-05-04?09:20??fftwindow\Myfft\Myfft.clw
?????文件???????2049??2009-04-29?21:02??fftwindow\Myfft\Myfft.cpp
?????文件???????4138??2009-04-27?21:17??fftwindow\Myfft\Myfft.dsp
?????文件????????518??2009-04-27?10:42??fftwindow\Myfft\Myfft.dsw
?????文件???????1313??2009-04-27?10:42??fftwindow\Myfft\Myfft.h
?????文件?????107520??2009-05-04?09:20??fftwindow\Myfft\Myfft.ncb
?????文件??????57856??2009-04-30?10:15??fftwindow\Myfft\Myfft.opt
?????文件??????????0??2009-05-04?09:19??fftwindow\Myfft\Myfft.plg
?????文件???????6512??2009-04-29?11:21??fftwindow\Myfft\Myfft.rc
?????文件??????19613??2009-05-04?09:19??fftwindow\Myfft\MyfftDlg.cpp
?????文件???????2326??2009-04-29?22:09??fftwindow\Myfft\MyfftDlg.h
?????文件???????1020??2009-04-27?20:12??fftwindow\Myfft\Myscope.cpp
?????文件???????1190??2009-04-27?19:52??fftwindow\Myfft\Myscope.h
?????文件???????3561??2009-04-27?10:42??fftwindow\Myfft\ReadMe.txt
?????文件???????1557??2009-04-29?11:21??fftwindow\Myfft\Resource.h
?????文件??????19481??2009-04-27?19:49??fftwindow\Myfft\Scope.cpp
?????文件???????3019??2004-08-27?14:24??fftwindow\Myfft\Scope.h
?????文件????????207??2009-04-27?10:42??fftwindow\Myfft\StdAfx.cpp
?????文件???????1054??2009-04-27?10:42??fftwindow\Myfft\StdAfx.h
?????文件???????1078??2009-04-27?10:42??fftwindow\Myfft\res\Myfft.ico
?????文件????????397??2009-04-27?10:42??fftwindow\Myfft\res\Myfft.rc2
?????文件????3654656??2009-04-27?15:55??fftwindow\Myfft\Debug\Myfft.bsc
?????文件?????118902??2009-05-04?09:19??fftwindow\Myfft\Debug\Myfft.exe
?????文件?????534232??2009-05-04?09:19??fftwindow\Myfft\Debug\Myfft.ilk
?????文件??????12908??2009-04-29?21:04??fftwindow\Myfft\Debug\Myfft.obj
?????文件????5493172??2009-04-29?11:22??fftwindow\Myfft\Debug\Myfft.pch
?????文件?????410624??2009-05-04?09:19??fftwindow\Myfft\Debug\Myfft.pdb
?????文件???????3304??2009-04-29?11:22??fftwindow\Myfft\Debug\Myfft.res
............此處省略16個文件信息
- 上一篇:pb做的圖書管理系統(tǒng)
- 下一篇:單片機課設(shè)--籃球比賽計分器
評論
共有 條評論