How to solve system of non linear equation by iteration
조회 수: 1 (최근 30일)
이전 댓글 표시
clc
format long
x0 = input('Enter xo value');
y0= input('Enter yo value');
j=[1 1-4*y0; 2*x0 2*y0; 6*x0 -2*y0];
k=[(-4-(x0+y0-2*(y0)^2)); 8-((x0)^2+(y0)^2); 7.7-(3*(x0)^2-(y0)^2)];
dX=inv((j'*j))*j'*k;
x1=dX(1,1)+x0;
y1=dX(2,1)+y(i);
i need to use x1, y1 for the new iteration
thanks in advance
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Systems Of Linear Equations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!