matlab牛顿法

时间:2018-05-22 07:59:34
【文件属性】:
文件名称:matlab牛顿法
文件大小:255B
文件格式:M
更新时间:2018-05-22 07:59:34
牛顿法 clear all clc format short n 0; x [ 1 5 0]"; e 1; for i 1:7 n n+1 g [400 x 1 ^3 x 1 x 2 +2 x 1 1 200 x 1 ^2+200 x 2 ]"; H [1200 x 1 ^2 400 x 2 +2 400 x 1 ; 400 x 1 200]; d inv H g x x+d e norm g 2 ; end

网友评论