-
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
-
chazhinihe
matlab的经典算法--用于各种插值与拟合(matlab classical algorithm- interpolation and fitting)
- 2010-01-29 10:24:45下载
- 积分:1
-
MATLABC-C
MATLABC数学函数库在C语言中的应用(MATLABC math library in C language)
- 2012-10-08 10:08:01下载
- 积分:1
-
MedianFilter
快速中值滤波,在大数据量的情况下速度很快,论文“Median Filter in Constant Time”的C语言实现(C souce code for "Median Filter in Constant Time")
- 2014-01-14 10:25:05下载
- 积分:1
-
VC-Digital
一本关于VC和VB数值计算的书,里面有个库,包括了很多的数值计算函数,不用matlab也可以实现数值计算了(A numerical calculation of VC and VB book, which has a library, including a lot of numerical functions can be achieved without matlab numerical calculation of the)
- 2011-09-27 21:15:12下载
- 积分:1
-
F_MF_DFA_q
计算广义的hurst指数,本课题组编写程序,欢迎使用(compute general hurst, our group write program,welcome to use)
- 2012-05-08 16:18:43下载
- 积分:1
-
pipe
某石油公司计划建造一条由东向西的主输油管道。该管道要穿过一个有n 口油井的油田。从每口油井都要有一条输油管道沿最短路经(或南或北)与主管道相连。如果给定n 口油井的位置,即它们的x 坐标(东西向)和y 坐标(南北向),应如何确定主管道的最优位置, 即使各油井到主管道之间的输油管道长度总和最小的位置?证明可在线性时间内确定主管道的最优位置。(An oil company plans to construct a east to west from the main pipeline. The pipeline to pass through an oil field n wells. Wells from each must have a pipeline along the shortest path (or South or North) connected with the competent Road. If given the location of oil wells in n, that is, their x coordinates (east-west) and y coordinates (north-south), should be how to determine the optimal position in charge of Road, even if the wells to the pipeline in charge of Road between the sum of the smallest length location? proved to be linear time to determine the optimal position in charge of Road.)
- 2008-07-07 10:25:25下载
- 积分:1
-
sort
Shell sort is a very interesting modification of the sorting algorithm simple inserts.
- 2013-10-06 04:38:26下载
- 积分:1
-
sysidjob4
该程序涉及了M序列的生成,以及相关辨识法的基本实现和概念。(The procedure involves the M-sequence generation, as well as the basic realization of the identification method and concepts.)
- 2012-06-09 17:16:34下载
- 积分:1
-
iir
这是IIR数字滤波器的设计及滤波程序,IIR滤波器用matlab实现,滤波数据用C生成,主程序实现数字滤波(This is the IIR digital filter design and filtering procedures, IIR filter using matlab, using C to generate filtered data, the main program to achieve digital filtering)
- 2013-09-15 21:23:30下载
- 积分:1