-
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
-
hrollfcoef
升余弦滚降系统的源程序 matlab程序示例简要示范(Raised Cosine system source code matlab brief demonstration program examples)
- 2014-02-21 08:10:53下载
- 积分:1
-
danandzai_sar
自己写的关于弹载SAR的源程序,对初学者非常有用!(Write your own source code on missile-borne SAR, and very useful for beginners!)
- 2016-05-17 21:14:24下载
- 积分:1
-
laplace
偏微分数值解法中求解正方形区域中的Laplace方程Dirichlet问题
程序(The solution of numerical solution of partial differential square area of the Laplace equation Dirichlet problem
Program)
- 2010-05-13 19:50:15下载
- 积分:1
-
18062014
他的计划是dehaze图像由使用多个大气参数得糊里糊涂了融合技术. .(his program is to dehaze an image which is hazed by atmospheric parameters by using multiple fusion technique..)
- 2015-04-13 10:34:18下载
- 积分:1
-
MATLAB_data_file_read_and_write_tutorial
MATLAB数据文件的读写教程MATLAB data file read and write tutorial(MATLAB data files read-write tutorials MATLAB data file read and write tutorial)
- 2010-08-03 10:39:49下载
- 积分:1
-
ecgBag-1p6
目前心率变异性分析已成为当今生物医学工程研究的一个热点,再次我把我分享的心电信号的HRV分析工具上传,更好的服务正在研究这个方向的同行。(heart rate variability analysis tools)
- 2010-11-30 00:37:19下载
- 积分:1
-
adaboost
关于ababoost的matlab源代码。(the source code of matlab about adaboost algorithm。)
- 2012-04-24 13:26:28下载
- 积分:1
-
Aircraft-Sizing
飞机初步设计时,界限法确定总体参数Matlab程序(Aircraft preliminary design, the boundaries to determine the overall parameters Matlab program)
- 2012-06-30 10:11:53下载
- 积分:1
-
fir_1
dising fir filter in the fdatool matlab
- 2013-08-18 13:30:33下载
- 积分:1