-
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
-
corner
该程序找到了使用L曲线算法的拐点,是正则化程序中,寻求正则化参数的一种比较好的方法。CORNER Find corner of discrete L-curve via adaptive pruning algorithm.(The program found the algorithm using the L-curve inflection point, is the regularization process, the regularization parameter for a better way. CORNER Find corner of discrete L-curve via adaptive pruning algorithm.)
- 2020-08-14 00:58:29下载
- 积分:1
-
3-planer
an algorittm for 3 RRR robot , control u should upload at least five sourcecodes/documents
- 2013-07-28 17:16:32下载
- 积分:1
-
hadi-alizade
this is a new alghorithm about tabu search....
- 2013-05-26 16:47:20下载
- 积分:1
-
DigitalSignalPrecessing
一本描述声音信号处理的书,包括matlab的仿真过程(It s very good to descript on the signal processing including the step working on Matlab)
- 2010-10-28 11:28:19下载
- 积分:1
-
123
该论文给出了基于MATLAB的OFDM系统仿真及性能分析(matlab simulation and performance analysis of ofdm system)
- 2009-11-26 12:17:10下载
- 积分:1
-
QPSK
QPSK调制与解调,并有误码率的分析,加了 信道噪声。(QPSK modulation and demodulation, and bit error rate analysis, the addition of channel noise.)
- 2009-04-20 17:08:16下载
- 积分:1
-
Clustering_Coefficient
说明: 此源程序是复杂网络中参数聚类系数的计算机程序,很有用的(This source is a complex network parameter clustering coefficient computer program, very useful)
- 2011-04-10 15:40:39下载
- 积分:1
-
scale-space
Space Scale...................................
- 2013-10-22 12:38:12下载
- 积分:1
-
Bayes
离散随机系统的Bayes辨识法,matlab程序(Bayes discrete stochastic systems identification method, matlab program)
- 2013-09-24 16:06:58下载
- 积分:1