-
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
-
register
有关三维点云数据的配准程序,使用matlab编写的(For three-dimensional point cloud data registration procedures, matlab prepared using)
- 2013-09-14 18:23:26下载
- 积分:1
-
hamming-and-hanning
汉宁窗和汉明窗的产生程序,分析他们的幅度和相位响应(Hanning window and Hamming window generation process, analysis of their amplitude and phase response)
- 2013-01-13 12:03:16下载
- 积分:1
-
fxxmcaponxz1
针对非均匀线阵,利用修正的Capon算法,不需要信源数目,就可以达到高分辨的DOA(In view of the non uniform linear array, using the modified Capon algorithm, does not need the source number, can achieve high resolution DOA
)
- 2012-03-22 20:13:04下载
- 积分:1
-
SPLLL
使用matlab/simulink对锁相环进行了仿真研究(Matlab/simulink simulation study of phase-locked loop)
- 2013-02-02 15:10:36下载
- 积分:1
-
Envelop1.1
用于计算拟合曲线的上下包络,需要用matlab来实现(Used to calculate the fitting curve of the upper and lower envelopes, using matlab to achieve)
- 2013-05-21 16:31:49下载
- 积分:1
-
chanalsimulation
关于bpsk调制和解调,进行模拟调制,自行编写绝对正确(About bpsk modulation and demodulation, to simulate modulation, self-preparation is absolutely right)
- 2009-12-16 17:09:40下载
- 积分:1
-
matlab-SLM.m
说明: 在OFDM系统中,为了降低峰均功率比,采用SLM算法,该程序就是相应的Matlab源码(In OFDM system, in order to reduce the PAPR, SLM algorithm used, the program is the appropriate Matlab source)
- 2010-04-11 14:57:11下载
- 积分:1
-
EKFUKFCKkk
卡尔曼滤波程序代码,包括EKF UKF CKF(EKF UKF CKF)
- 2014-12-04 11:30:07下载
- 积分:1
-
zhifangtuguidinghua
图像增强技术属于数字图像预处理的范畴, 直方图均
衡化和规定化处理是图像增强技术中的基本方法。(Image enhancement technology areas are digital image preprocessing, histogram equalization and provides image enhancement processing technology is the basic method.)
- 2011-12-01 22:00:58下载
- 积分:1