-
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
-
motorinduccion_rotorbobinado
is a dfig code in matlab
- 2013-05-05 14:22:32下载
- 积分:1
-
demsvm1
说明: 支持向量机用于分类问题的演示程序,分线性与非线性两部分(support vector machines for the demonstration classification procedures, sub-linear and nonlinear part 2)
- 2006-02-27 20:57:48下载
- 积分:1
-
mat_power-4.1
Matlab语言开发的电力系统分析软件包,可进行潮流计算,稳定性分析,系统仿真等。(Matlab language development of power system analysis software package, available for flow calculation, stability analysis, system simulation.)
- 2014-09-16 11:40:11下载
- 积分:1
-
2FSK
该程序主要是完成2FSK调制解调这样一个过程。(The program mainly completes the process of the modulation and demodulation 2FSK.)
- 2013-04-13 19:00:26下载
- 积分:1
-
PCIbf
基于主成分分解的波束形成,对于学习波束形成非常有帮助。(a good example for studying PCI beamforming.)
- 2011-08-23 17:49:32下载
- 积分:1
-
ACA_TSP
旅行商问题(Travelling Salesman Problem, 简记TSP):假设有一个旅行商人要拜访n个城市,他必须选择所要走的路径,路经的限制是每个城市只能拜访一次,而且最后要回到原来出发的城市。路径的选择目标是要求得的路径路程为所有路径之中的最小值。
此处使用蚁群算法求解TSP问题(Suppose a business trip to visit n cities, he must choose the path to go, pass through the restriction is to visit each city only once, and finally go back to the original departure city. Path selection objective is to get the path distance to the minimum value among all paths.Here,we use the procedure of ant colony algorithm
to work out the TSP.)
- 2013-09-19 22:37:38下载
- 积分:1
-
dfp
本matlab程序用DFP法求解多元模型的最小值(给出初始点和精度要求条件)。(The matlab program using DFP method for solving the minimum multivariate model (given initial point and precision conditions).)
- 2014-01-16 17:06:14下载
- 积分:1
-
Matlabapplication
matlab在27种问题中的应用包括
等切面曲线和相似曲线
旋转网球的轨迹
道路照明问题
计算平面日晷等
(matlab 27 kinds of problems in the application of such section, including rotation curve and the curve similar to tennis, track lighting and other problems of plane sundial)
- 2010-08-18 07:48:14下载
- 积分:1
-
main6
本代码利用Matlab计算氢原子里德堡态的斯塔克效应。(The use of Matlab code to calculate the Stark effect of the hydrogen atom Rydberg states.)
- 2013-05-01 20:39:51下载
- 积分:1