-
exam2_1995
Elnagar, G., et al. (1995). "The pseudospectral Legendre method for discretizing optimal control problems." IEEE Transactions on Automatic Control 40(10).
上述文章的算例2的仿真代码(Elnagar, G., et al. (1995). " The pseudospectral Legendre method for discretizing optimal control problems." IEEE Transactions on Automatic Control 40 (10).
the simulation code of example 2 in the preceding article.)
- 2013-10-18 12:54:32下载
- 积分:1
-
11
说明: empirical formula with kaiser
clc
clear all
fs=1000
fc=250
df=50
r=0.001
f=fc/fs
dw=2*pi*(df/fs)
a=-20*log(r)
n=floor(((a-8)/(2.285*dw))+1)
if a>50
b=0.1102*(a-8.7)
elseif a>=21 && a<=50
b=0.5842*((a-21)^0.4)+0.07886*(a-21)
elseif a<21
b=0.0
end
w=kaiser(n,b)
for i=1:n
if i~=(n-1)/2
hd(i)= (2*f*sin((i-((n-1)/2))*2*pi*f))/((i-((n-1)/2))*2*pi*f)
elseif i==(n-1)/2
hd(i)=2*f
end
end
for j=1:n
h(j)=w(j)*hd(j)
end
subplot(3,1,1), plot(w)
subplot(3,1,2), plot(h)
subplot(3,1,3), plot(h,n)
- 2014-12-24 23:20:03下载
- 积分:1
-
floyd
Floyd算法(Floyd-Warshall algorithm)又称为弗洛伊德算法、插点法,是解决给定的加权图中顶点间的最短路径的一种算法,可以正确处理有向图或负权的最短路径问题(Floyd algorithm (Floyd-Warshall algorithm) also known as the Freud algorithm, interpolation method is an algorithm of the shortest path between the vertex weighted graph to solve a given in, can correctly handle the directed graph problem or negative right)
- 2017-06-22 11:42:06下载
- 积分:1
-
Weighted-least-squares
说明: 加权最小二乘法的原理 应用及其运算方式方法(Applying the principle of weighted least squares method and the ways and means of operation)
- 2011-03-16 16:33:06下载
- 积分:1
-
1-s2.0-S1876610214007826-main
mppt tracking for solar inverter
- 2014-11-20 22:51:10下载
- 积分:1
-
模糊控制
说明: 基于matlab程序,对普通PID控制和模糊自适应PID控制进行仿真(Based on MATLAB program, the general PID control and fuzzy adaptive PID control are simulated)
- 2020-04-29 14:07:41下载
- 积分:1
-
zforce
迫零算法,用于均衡器中,仿真比较其算法性能(Zero-Forcing algorithm for the equalizer, the simulation algorithm to compare their performance)
- 2009-02-28 13:49:20下载
- 积分:1
-
xin
说明: 此程序是针对汉字的分割,所编写的程序,必须在预处理后进行才能准确的对汉字进行分割(This program is for the character of the division, the written procedures must be accurate after pretreatment of the character segmentation)
- 2010-04-26 15:03:21下载
- 积分:1
-
triangleMatlab
the graphs where you can find how the function looks like - triangle
- 2013-11-30 17:39:18下载
- 积分:1
-
3-Phase-Induction-Motor-Controlled-with
3 Phase Induction Motor Controlled with
9-Level Diode-Clamp Inverter
- 2015-03-01 20:08:35下载
- 积分:1