-
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
-
workKWS
In this code we use the technique of keyword spotting to search in the spoken document
- 2013-10-09 20:43:04下载
- 积分:1
-
Simulated-annealing-algorithm
说明: 模拟退火算法的matlab示例,很好的入门程序,附有算法的matlab仿真(Simulated annealing algorithm matlab example, a good entry procedures, with the algorithm matlab simulation)
- 2011-03-01 15:30:22下载
- 积分:1
-
bianshi1
系统辨识 利用matlab进行仿真 对系统辨识(System identification using matlab simulation of system identification)
- 2012-06-07 15:02:57下载
- 积分:1
-
Gauss_Seidel
一种非线性代数方程组的迭代解法。最早用于解算电力系统潮流。这种方法具有程序编制简单、占用内存少的优点,但算法收敛性差,计算时间长。(In numerical linear algebra, the Gauss–Seidel method, also known as the Liebmann method or the method of successive displacement, is an iterative method used to solve a linear system of equations. It is named after the German mathematicians Carl Friedrich Gauss and Philipp Ludwig von Seidel, and is similar to the Jacobi method. Though it can be applied to any matrix with non-zero elements on the diagonals, convergence is only guaranteed if the matrix is either diagonally dominant, or symmetric and positive definite. It was only mentioned in a private letter Gauss to his student Gerling in 1823.[1] A publication was not delivered before 1874 by Seidel.)
- 2014-11-20 22:12:52下载
- 积分:1
-
plotcube
基于matlab的立方体绘图案例,希望对各位有所帮助,如有不对,还请批评指正(Matlab-based cube drawing case, they hope to be helpful, if wrong, criticism and)
- 2013-04-06 10:30:25下载
- 积分:1
-
yuchuli
matlab
标记点配准的图像预处理(Matlab markers image pre-processing of the registration)
- 2013-05-17 02:02:46下载
- 积分:1
-
matlab_source_for_dsp
matlab source code for digital signal
- 2009-07-09 13:44:25下载
- 积分:1
-
WSN
WSN(无线传感器网络)的初期模型建立以供后期仿真,模拟所用。(WSN (Wireless Sensor Networks) Ausgangsmodell für die Post-Simulation, die Simulation verwendet)
- 2015-02-08 12:41:23下载
- 积分:1
-
matlab_SoundWave_filter
直接运行MAIN文件。对音频文件滤波,完成低通和高通滤波,并保存为WAV文件。(Run directly MAIN file. Filtering of the audio file to complete the low-pass and high-pass filter, and save it as WAV files.)
- 2009-10-12 11:21:34下载
- 积分:1