-
example4_4
例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 )
)
- 2010-05-25 20:59:03下载
- 积分:1
-
Nonelinear-program-demonstration
非线性分析中倍周期分叉图和相图以及matlab求解的M文件(The nonlinear analysis of period doubling bifurcation diagram and phase diagram and MATLAB to solve the M file)
- 2020-07-03 05:40:01下载
- 积分:1
-
STM32F103C8板子程序
说明: 基于sx1278实现STM32F103C8和STM8L151间通讯(sx1278,STM32F103,STM8L151)
- 2020-06-21 15:00:02下载
- 积分:1
-
system
基于C语言的系统编程小程序,里面有好多值得参考的程序,适合初学者(Systems based on the C programming language, applets, there are a lot of good reference procedures, suitable for beginners)
- 2014-03-29 20:14:38下载
- 积分:1
-
i2c
通用i2c通讯协议可直接应用在单片机开发中,移植性很好(General i2c communication protocol can be directly used in single-chip development, transplantation of a good)
- 2008-06-11 12:38:38下载
- 积分:1
-
list-and-array
数组的定义与使用,数组的运算,字符串的输入与输出,冒泡排序(list and array)
- 2013-10-17 11:32:30下载
- 积分:1
-
Manual-lammps
最最全面的lammps教程,细节每一部分,计算科学领域中的经典软件。(Lammps most comprehensive tutorial, detail each part of the field of computer science in the classic software.)
- 2013-07-01 18:57:51下载
- 积分:1
-
精通Matlab与C C++ 混合程序设计
matlab 与C语言程序互相调用,实现快速计算(MATLAB and C language program call each other to realize fast computation.)
- 2018-04-28 16:03:31下载
- 积分:1
-
gis_swb_6214027
WPF与c++混合编程的一种尝试 使用托管语言进行数据交互 可以帮助想要改善界面的c++朋友(A hybrid of WPF and c++ programming that attempts to interact with data using a managed language can help c++ friends who want to improve the interface)
- 2020-06-22 18:00:01下载
- 积分:1
-
ica_for_pid_design
ica for pid design project
- 2014-09-15 02:03:04下载
- 积分:1