-
3
说明: 例题全部代码. 薛定宇, 陈阳泉. 高等应用数学问题的Matlab求解.(All the code examples. Xue Dingyu, Chen Yangquan. MATLAB to solve higher applied mathematical problems.)
- 2011-04-29 10:13:28下载
- 积分:1
-
matlab-reading-excel
matlab读取excel及操作处理,doc格式(matlab read excel and operations processing, doc format)
- 2013-01-06 15:28:54下载
- 积分:1
-
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
-
Fractals
在MATLAB中象元的自相关性处理图像的纹理特征提取(In MATLAB, the autocorrelation of pixel image texture feature extraction processing)
- 2010-05-20 22:05:20下载
- 积分:1
-
abkaihuan
主要设计了在matlab下异步电动机在ab坐标系下的开环仿真。(Asynchronous motors in the ab coordinate system under the open-loop simulation.)
- 2012-05-04 10:41:54下载
- 积分:1
-
Self_collimation
二维光子晶体自聚焦光束的FDTD模拟程序 配PML吸收边界(Two-dimensional photonic crystal since the FDTD simulation program focused beam with PML absorbing boundary)
- 2012-08-28 14:23:03下载
- 积分:1
-
computercontroldesign
matlab以及汇编语言实现的锅炉水位的控。(matlab as well as the assembly language to achieve the control of boiler water level.)
- 2008-04-27 09:58:50下载
- 积分:1
-
suanfa
该函数的功能是利用matlab实现图像的快速有效的分割(Function of the function is to use matlab to achieve fast and efficient image segmentation)
- 2010-03-08 21:52:55下载
- 积分:1
-
Ant-colony-optimization
蚁群算法优化PID控制器,采用三种评价指标函数IAE、ITAE、ITSE来进行对比分析.(Ant colony optimization algorithm PID controller, using three evaluation function IAE, ITAE, ITSE for comparative analysis.)
- 2021-01-08 15:58:51下载
- 积分:1
-
Lave1
#include <iostream>
#include <stdlib.h>
#include <string.h>
using namespace std
const kl = 4, kzs = 2, m = 6, n = 4, Error = 5
char *K[kl] = {{"01"},{"bB"},{"23456789ACDEFacdef"},{"hH"}}
int A[m][n] = {{1,2,2,5}, {1,3,2,4},{2,2,2,4},{2,2,2,4},{5,5,5,5},{5,5,5,5}},
- 2010-01-20 23:55:27下载
- 积分:1