-
example4_3
例3:分析占空比为ta的矩形脉冲频谱
T=1 时间窗大小
ta=0.5 占空比
N=256
t=linspace(-T,T,N)
ts=2*T/N
fs=1/ts
(x=zeros(1,N)
x(N/2-round(N/2*ta):N/2+round(N/2*ta))=ones(1,2*round(N/2*ta)+1)
y=fft(x,N)
figure
plot(t,x)
title([ 时域信号图 占空比为 ,num2str(ta)])
axis([-T T-0.2 1.2])
xlabel( t /s )
figure
subplot(211)
f=linspace(-fs/2,fs/2,N)
plot(f,abs(fftshift(y))/N)
title([ 矩形脉冲双边谱 脉冲时间t=[- ,num2str(ta*T), , ,num2str(ta*T), ] ])
xlabel( f /Hz )
)
- 2010-05-25 20:59:59下载
- 积分:1
-
mousemove
blender 的摄像机控制程序,使用ws控制其前后,使用鼠标控制其方向,使用空格键模拟跳跃.(blender s camera control,use ws for qianhou ,use mouse for orention ,use space for jump.)
- 2014-08-25 17:45:06下载
- 积分:1
-
PSO-20
PSO算法两个目标的代码,测试程序是非线性方程组,目标变量为找到MinF(x)(PSO algorithm code two goals, the test program is non-linear equations, the target variable is found MinF (x))
- 2014-11-30 21:58:54下载
- 积分:1
-
bp
说明: bp神经网络算法的matlab源代码,挺有用的。(bp neural network algorithm matlab source code, quite useful.)
- 2011-04-02 11:52:48下载
- 积分:1
-
singalproessing
matlab写的数字信号处理源代码,简化你的信号处理的工作。(Matlab write digital signal processing source code, simplify your signal processing work.)
- 2006-07-17 08:15:40下载
- 积分:1
-
3dwind1
空间风场模拟程序,采用谐波平衡法模拟大气边界层(code for simulation of wind field of boundary layer.)
- 2013-10-09 08:32:01下载
- 积分:1
-
ident
identification for strong apperiodical processes.
- 2013-03-16 22:23:17下载
- 积分:1
-
PSNR
to calculate psnr for images by matlab
- 2015-03-16 04:01:55下载
- 积分:1
-
junzhilvbonmd
MATLAB对数字信号进行均值滤波,尤其是对数字图像(MATLAB for digital signals mean filter, especially for digital images)
- 2014-02-22 18:43:06下载
- 积分:1
-
13-suijishengchegnshu
随机生成数【matlab例程】经典算法直接应用方便快捷(Random number generator convenient [] classical algorithm matlab routines directly applied)
- 2014-01-20 13:47:11下载
- 积分:1