-
MATLAB
一、 牛顿-拉夫逊法概要
首先对一般的牛顿-拉夫逊法作一简单说明。已知一个变量X的函数
(4-6)
解此方程式时,由适当的近似值X(0)出发,根据 (4-7)
反复进行计算,当X(n)满足适当的收敛判定条件时就是(4-6)式的根。这样的方法就是所谓的牛顿-拉夫逊法。
式(4-7)就是取第n次近似解X(n)在曲线 上的点 处的切线与X轴的交点作下一次X(n+1)值的方法。参考图4-2(a)。在这一方法中为了能收敛于真解,初值X(0)的选取及函数f(X)必须满足适当的条件,如图4-2(b)所示的那种情况就不能收敛或收敛到别的根上去。
这一方法还可以做下面的解释,设第n次迭代得到的解与真值之差,即 的误差为 时,则
(4-8)
把 在 附近对 用泰勒级数展开
(4-9)
上式略去 以下的项
(4-10)
的误差可近似由上式计算出来
图4-2
(4-11)
比较式(4-7)和(4-11),可以看出牛顿-拉夫逊法的修正量和 的误差的一次项相等。
用同样的方法考虑,给出对n个变量 (:Because of the importance and complexity of power system, better algorithm and programme language
is very important . An interior point method based on the perturbed Karush2Kuhn2Tucker (KKT) condition is pre2
sented in this paper , where the method and process for the optimal power flow is treated through the Matlab’s
symbolic math toolbox and Mfunction is also presented. Using the symbolic code , it can improve the adaptability
of the programme dramatically. The advantage is that , what we need to do is change the model expression. We
can make use of the symbolic programme to check our programme while we write the Mfunctions. Using the Mat2
lab , we find the optimal solutions and calculate quickly and efficiently. It has proposed the powerful and unique
functions of Matlab in the optimization and calculation for power system.
Key words :power system symbolic calculation optimal power flow interior point method)
- 2020-07-08 16:38:56下载
- 积分:1
-
train_v2
一个基于adaboost的人脸检测分类器训练程序,用MATLAB写的,希望能和大家分享(a face detect programme based on adaboost which is written by matlab)
- 2009-06-05 23:06:45下载
- 积分:1
-
PCAMatlabPCA
matlab 实现PCA算法,可以输出识别率,有详细注释,值得一用(Face Recognition Using PCA algorithm procedure, with annotations, 88 recognition rate
)
- 2010-12-24 10:52:58下载
- 积分:1
-
BoostPWM
说明: 这是一个BOOST-PWM电路的仿真,主要用于PFC校正。(This is a PWM circuit simulation hee-, mainly used for PFC correction.)
- 2010-04-27 20:30:29下载
- 积分:1
-
KFDA
采用核费舍尔鉴别准则做的静态背景的运动目标分类(Fisher discriminant make use of nuclear static background moving target classification)
- 2014-10-23 21:21:52下载
- 积分:1
-
67920682060625
对学cc++的有帮助,,多看看,研究,,研究(Have help in learning java,, more to see, study, study)
- 2010-10-29 17:12:46下载
- 积分:1
-
Optimizaion
三点二次差值搜索法,基于折线法的信赖域算法。(Three-point quadratic difference search method, trust region algorithm based on the fold line.)
- 2012-06-06 21:19:44下载
- 积分:1
-
imaging-processing-in-matlab
matlab图像处理应用,利用matlab进行图像处理的书籍(application of imaging processing in matlab)
- 2013-12-30 16:05:25下载
- 积分:1
-
To_design_a_High_Pass_Filter_using_Blackman_windo
To design a high pass Filter using Blackman window
matlab code with example
- 2011-01-14 12:48:28下载
- 积分:1
-
qam
这是一个用来在信号重构与交织时用的 qam调制的matlab程序(This is one for signal reconstruction intertwined with qam modulation matlab program)
- 2013-04-08 18:17:28下载
- 积分:1