-
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
-
shuzixinhaochulimatlabshixian
数字信号处理的基本内容,并且加上matlab的实现(The basic elements of digital signal processing, and implementation with matlab)
- 2010-10-28 18:25:13下载
- 积分:1
-
Ant-TSP
蚁群TSP问题,matlab的一种蚁群算法的程序(ACO TSP problem, matlab an ant colony algorithm procedure)
- 2010-12-10 21:49:27下载
- 积分:1
-
matlab
复杂网络相似性指标的实现和对比,同时可以实现无标度网络和邻耦网络两个复杂网络的预测。并对预测结果进行评估。改进了预测算法,提出了预测精度评价的新指标,使精度评价更准确。(Implementation and comparison of the complex network of similar indicators, and can achieve scale-free network and neighbor coupled network prediction of two complex networks. The prediction results to assess. Improve the prediction algorithm, proposed a new indicator of prediction accuracy evaluation, the accuracy of evaluation is more accurate.)
- 2012-07-06 16:06:35下载
- 积分:1
-
nonlinear
在MATLAB环境中,实现用二分法和Newton法求解非线性方程(StablePoint method and newton method)
- 2009-12-23 01:10:48下载
- 积分:1
-
texture-review
Gabor filters image processing
- 2013-07-30 20:07:53下载
- 积分:1
-
pathfinder
Run the file pathfinder_test.m for a demonstration on how to use the functions.
- 2011-11-04 12:27:54下载
- 积分:1
-
clearex
matlab进行循环计算时,清除不必要的变量,保存需要的变量。(Matlab calculation for circulation, remove unnecessary variables, save need variables.
)
- 2011-12-23 09:24:16下载
- 积分:1
-
puguji
信号的谱估计的相关问题例子,可以用于初步了解相关原理(Signal spectrum estimation examples of related issues, can be used in a preliminary understanding of the relevant principles of)
- 2008-12-25 15:29:47下载
- 积分:1
-
MDLAIC
在MATLAB环境下开发的基于AIC和MDL准则的远场入射新号的数目估计,估计准确度都很高,仿真效果理想(Developed under the MATLAB environment, based on AIC and MDL criteria for the far-field incident estimated number of new numbers, it is estimated have a high accuracy, simulation results are satisfactory)
- 2021-03-16 16:39:22下载
- 积分:1