登录
首页 » Visual C++ » example4_4

example4_4

于 2010-05-25 发布 文件大小:1KB
0 308
下载积分: 1 下载次数: 5

代码说明:

   例4:在sinc(t)信号中叠加噪声,分析对应频谱 fs=100 采样频率,必须大于两倍基带信号最高频率 ts=1/fs 采样时间间隔 T=2 时间窗大小 ( x=x+0.1*randn(1,N) x=awgn(x,-10, measured ) figure plot(t,x) title( 时域信号图 ) xlabel( t /s ) y=fft(x,N) figure if mod(N,2)~=0 N=N-1 end f=linspace(0,fs/2,N/2) plot(f,abs(y(1:N/2))*2/N) title( 叠加噪声的sinc(t)信号频谱 ) xlabel( f /Hz ) figure y0=y(1:N/2) P=y0.*conj(y0)/N P=10*log10(P) plot(f,P) title( 功率谱 ) xlabel( f /Hz ) )

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • myDaoju
    vb与matlab混合编程的例子,COM+DLL,非常详细(vb and matlab examples of mixed programming, COM+ DLL, a very detailed)
    2009-05-08 17:09:04下载
    积分:1
  • @rtdxhelp
    说明:  一个MATLAB的应用程序,很方便的!使用时需要转换为M文件。(A MATLAB application, very convenient! The use of M need to convert files.)
    2006-03-16 16:30:41下载
    积分:1
  • MIMO_OFDM_Simulator
    本文的程序实现在屏幕上随机产生不同大小的雪花,并以不同的速度下降。相对于第一版,它在很多性能上做了优化,直接在桌面的上下文中绘制雪花。而且,现在也通过RedrawWindow,实现在桌面的图标(如任务栏)上绘制雪花了。你可以用它来学习GDI。(Falling Snow on Your Desktop! Part II This article explains how to create an application that makes it snow on the desktop. Since my previous article was published, I received many user inquiries about how to improve the program. This article demonstrates how to create snow flakes that fall on your desktop, by using the draw functions directly in the desktop context. When the application starts, it creates an array of snow flakes and starts the timers for each flake. Manipulation of the RedrawWindow function allows the drawing of flakes behind and over the desktop icons, making the application more impressive. )
    2010-08-31 17:22:31下载
    积分:1
  • mv
    说明:  matlab 与 vc 混合编程 自带的例程(matlab and vc )
    2009-04-04 09:32:37下载
    积分:1
  • ddDlg
    VC++编程,将文本10000点的数据导入,将1000点的数据导出,然后可以直接导入Matlab程序中画出实时波形。(VC++ programming, the text data into 10,000 points, 1,000 points will export the data, then import the Matlab program can draw real-time waveform.)
    2010-09-05 09:23:24下载
    积分:1
  • 3
    编写程序:基类base,有一个私有数据成员n,派生类Derived公有继承基类base,Derived中新增加一个数据成员m(Programming: the base class base, there is a private data member n, the derived class Derived inherits the base class public base, Derived add a new data member m)
    2013-12-17 13:38:33下载
    积分:1
  • rs54
    matlab rough set 粗糙集代码 matlab实现(this is a rar for rough set using matlab )
    2012-09-12 15:17:40下载
    积分:1
  • Radar-fuzzy-function-simulation
    雷达通信系统的模糊函数的基于线性函数的matlab仿真(Radar system of communication function of fuzzy linear function based on the matlab simulation )
    2011-12-13 15:16:33下载
    积分:1
  • MATLAB
    详细的介绍了matlab的程序设计和编程方法等 (Detailed description of the matlab program design and programming methods)
    2011-05-01 15:51:08下载
    积分:1
  • chapter08
    matlab 数值分析于应用中的一些很用的 基本代码。(Matlab numerical analysis in the application of some very basic code.)
    2013-04-27 10:41:11下载
    积分:1
  • 696516资源总数
  • 106554会员总数
  • 12今日下载