-
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
-
wuziqi
说明: 声明:本程序仅交流用,所以调试时用两颗棋子就可以赢(Disclaimer: This procedure only exchange with, so debugging can win with two pieces)
- 2010-05-01 17:34:45下载
- 积分:1
-
dongtai
手势识别基于matlab源代码,包括相应的源代码,可以直接运行,效果良好,适合初学者学习
(Gesture recognition based on the matlab source code, including the corresponding source code, can be directly run, the effect is good, suitable for beginners to learn
)
- 2014-11-09 11:41:09下载
- 积分:1
-
半不变量法概率潮流计算 CMPPF IEEE34
实现半不变量法概率潮流计算,并与蒙特卡洛模拟法作比较(Probabilistic power flow based on cumulants, compared with monte-carlo simulink method)
- 2021-05-09 17:58:35下载
- 积分:1
-
mobile-robot
移动机器人寻找目标的程序,让机器人从初始坐标到达目标坐标(Mobile robot to find the target program that allows the robot to reach the target coordinates from the initial coordinates)
- 2014-08-13 11:12:35下载
- 积分:1
-
pro
以及简易倒立摆,实现一级PID建议算法控制倒立摆不倒的程序,仅做参考(yi ji jian y idao li bai)
- 2013-10-23 16:52:50下载
- 积分:1
-
11.CPP-Primer-3rd
11.C++ Primer 3rd(中文版),众所周知的C++学习经典书籍,C++学习圣经(11.C++ Primer 3rd (Chinese version))
- 2015-04-04 10:28:24下载
- 积分:1
-
markov_localization
Markov Localization.
- 2015-02-19 18:21:27下载
- 积分:1
-
SVDBasedImageQualityMeasure
Source code svd in matlab
- 2009-11-12 22:42:40下载
- 积分:1
-
Shannon
随机产生一个信源概率空间,并对其进行香农编码,输出码长和编码(shannon coding)
- 2014-12-22 21:01:05下载
- 积分:1