資源簡介
Capon是陣列信號處理的經典算法,用于波束形成。本程序用VC6.0實現該算法,基于MFC開發了一個界面,用于測試該算法的處理較果。期望信號的入射角和信噪比等都可以調節。另外,本程序編寫的許多矩形運算函數都是用C寫的,可以為開發信號處理算法時所使用。
代碼片段和文件信息
//?Capon.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“Capon.h“
#include?“CaponDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CCaponApp
BEGIN_MESSAGE_MAP(CCaponApp?CWinApp)
//{{AFX_MSG_MAP(CCaponApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CCaponApp?construction
CCaponApp::CCaponApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CCaponApp?object
CCaponApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CCaponApp?initialization
BOOL?CCaponApp::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.
CCaponDlg?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;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????1876??2008-06-17?16:23??Capon算法\Capon.cpp
?????文件???????4266??2008-06-17?20:03??Capon算法\Capon.dsp
?????文件????????533??2008-06-17?16:23??Capon算法\Capon.dsw
?????文件???????1313??2008-06-17?16:23??Capon算法\Capon.h
?????文件???????5899??2008-06-18?10:10??Capon算法\Capon.rc
?????文件???????6796??2008-06-18?14:57??Capon算法\CaponDlg.cpp
?????文件???????1364??2008-06-18?09:03??Capon算法\CaponDlg.h
?????文件???????3659??2008-06-18?14:55??Capon算法\My_capon.h
?????文件??????12111??2008-06-18?16:49??Capon算法\My_math.h
?????文件???????1078??2008-06-17?16:23??Capon算法\res\Capon.ico
?????文件????????397??2008-06-17?16:23??Capon算法\res\Capon.rc2
????..A.SH.??????3072??2008-06-18?10:14??Capon算法\res\Thumbs.db
?????文件????????867??2008-06-17?19:06??Capon算法\resource.h
?????文件????????207??2008-06-17?16:23??Capon算法\StdAfx.cpp
?????文件???????1054??2008-06-17?16:23??Capon算法\StdAfx.h
????..A.SH.??????5120??2008-06-18?10:14??Capon算法\Thumbs.db
?????目錄??????????0??2009-05-19?09:32??Capon算法\res
?????目錄??????????0??2009-05-19?09:34??Capon算法
-----------?---------??----------?-----??----
????????????????49612????????????????????18
評論
共有 條評論