freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

電網(wǎng)諧波測(cè)量的分析與研究畢業(yè)論文-文庫(kù)吧資料

2025-07-01 13:38本頁(yè)面
  

【正文】 提高分析的信噪比[12]。如果要分析窄帶信號(hào)且具有較強(qiáng)的干擾噪聲時(shí),則應(yīng)選用旁瓣幅度較小的窗函數(shù)如Hamming 窗等。在應(yīng)用窗函數(shù)時(shí),除了要考慮窗譜本身的特性外,還應(yīng)當(dāng)充分考慮被分析信號(hào)的特點(diǎn)以及具體的處理要求。(2)窗譜的旁瓣高度應(yīng)盡量小而且隨頻率盡快衰減,以減小譜估計(jì)時(shí)的泄漏失真,在設(shè)計(jì)數(shù)字濾波器時(shí)減小通帶的波動(dòng),提高阻帶的衰減。兩組數(shù)據(jù)相差一個(gè)采樣周期。譜線的精確辨識(shí)需要相繼兩次DFT分析,考慮到完全對(duì)稱窗的選取,需從數(shù)據(jù)采集得到的數(shù)據(jù)中取N+2個(gè)數(shù)據(jù),這里取4098個(gè)數(shù)據(jù){,…, }。 // TODO: Add your message handler code here if(::IsWindow(())) { (0,140,cx,cy140,true)。 } else { AfxMessageBox(請(qǐng)啟動(dòng)MATLAB引擎,MB_OK,NULL)。 if(m_ep!=NULL) { engEvalString(m_ep,(const char*)pstr)。 }void CMatlabenginetestView::OnEvaluatestring() { // TODO: Add your control notification handler code here UpdateData(true)。 UpdateData(true)。}void CMatlabenginetestView::OnPaint() { CPaintDC dc(this)。 }}void CMatlabenginetestView::OnStartEngine() { // TODO: Add your control notification handler code here m_ep = engOpen(NULL)。 (m_outbuff)。 engEvalString(m_ep,plot([x2 x1],[y2 y1]))。 engEvalString(m_ep,y1=sin(x1)./x1)。}void CMatlabenginetestView::OnDrawSinc() { // TODO: Add your control notification handler code here if(m_ep!=NULL) { engEvalString(m_ep,x1=::10*pi)。}endif //_DEBUG// CMatlabenginetestView message handlersvoid CMatlabenginetestView::OnCloseEngine() { // TODO: Add your control notification handler code here engClose(m_ep)。}CMatlabenginetestDoc* CMatlabenginetestView::GetDocument() // nondebug version is inline{ ASSERT(m_pDocumentIsKindOf(RUNTIME_CLASS(CMatlabenginetestDoc)))。}void CMatlabenginetestView::Dump(CDumpContextamp。}// CMatlabenginetestView printingBOOL CMatlabenginetestView::OnPreparePrinting(CPrintInfo* pInfo){ // default preparation return DoPreparePrinting(pInfo)。 ResizeParentToFit()。}void CMatlabenginetestView::OnInitialUpdate(){ CFormView::OnInitialUpdate()。 //}}AFX_DATA_MAP}BOOL CMatlabenginetestView::PreCreateWindow(CREATESTRUCTamp。 DDX_Check(pDX, IDC_HIDEENGINECHECK, m_nIsCheck)。 }}void CMatlabenginetestView::DoDataExchange(CDataExchange* pDX){ CFormView::DoDataExchange(pDX)。 memset(m_outbuff,0,_MAX_BUFF_CHAR_NUM*sizeof(char))。 m_cmdedit = _T()。 }endif//{{AFX_INSERT_LOCATION}}// Microsoft Visual C++ will insert additional declarations immediately before the previous line.endif // !defined(AFX_MATLABENGINETESTVIEW_H__2BA448E9_DCB7_4CAB_8DE3_46FED317C086__INCLUDED_)/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */include include include include ifdef _DEBUGdefine new DEBUG_NEWundef THIS_FILEstatic char THIS_FILE[] = __FILE__。 //}}AFX_MSG DECLARE_MESSAGE_MAP()}。 afx_msg void OnSize(UINT nType, int cx, int cy)。 afx_msg void OnHideenginecheck()。 afx_msg void OnStartEngine()。endifprotected:// Generated message map functionsprotected: //{{AFX_MSG(CMatlabenginetestView) afx_msg void OnCloseEngine()。 virtual void Dump(CDumpContextamp。 //}}AFX_VIRTUAL// Implementationpublic: virtual ~CMatlabenginetestView()。 virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo)。 // called first time after construct virtual BOOL OnPreparePrinting(CPrintInfo* pInfo)。 protected: virtual void DoDataExchange(CDataExchange* pDX)。// Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CMatlabenginetestView) public: virtual BOOL PreCreateWindow(CREATESTRUCTamp。// Operationspublic: Engine * m_ep。 CString m_cmdedit。 CEdit m_outputedit。[7] 程序代碼/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */if !defined(AFX_MATLABENGINETESTVIEW_H__2BA448E9_DCB7_4CAB_8DE3_46FED317C086__INCLUDED_)define AFX_MATLABENGINETESTVIEW_H__2BA448E9_DCB7_4CAB_8DE3_46FED317C086__INCLUDED_if _MSC_VER 1000pragma onceendif // _MSC_VER 1000include define _MAX_BUFF_CHAR_NUM 2000class CMatlabenginetestView : public CFormView{protected: // create from serialization only CMatlabenginetestView()。 matlabenginetest CmatlabenginetestView 控件列表ID控件類型界面元素IDC_SrartEngineButton啟動(dòng)EngineIDC_DrawSincButton計(jì)算并繪制Sinc圖象IDC_CloseEngineButton關(guān)閉EngineIDC_HIDEENGINECHECKCheck button隱藏MATLAB引擎窗口IDC_CMDEDITEdit命令輸入編譯框IDC_EVALUATESTRINGButton執(zhí)行用戶輸入的命令I(lǐng)DC_OUTPUTEDITEditMATLAB引擎結(jié)果顯示編譯框Matlabenginetest通過(guò)engEvalString函數(shù)調(diào)用MATLAB引擎執(zhí)行相應(yīng)的命令并計(jì)算顯示sinc函數(shù)曲線,通過(guò)函數(shù)engOutputBuffer將m_outbuff設(shè)為MATLAB引擎輸出的結(jié)果存儲(chǔ)的緩沖區(qū)。Visual C++ MFC工程中調(diào)用MATLAB引擎首先創(chuàng)建一個(gè)單文檔的Visual C++ 工程matlabenginetest,其中view類的基類選為CFormView。9)int engSetVisible(Engine *ep,bool value)。8)int engPutVariable(Engine *ep,const char *name,const mxArray *mp)。設(shè)置MATLAB引擎的輸出內(nèi)存,存儲(chǔ)engEvalString函數(shù)執(zhí)行字符串
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1