Solve a matrix that has nonlinear coefficients
조회 수: 3 (최근 30일)
이전 댓글 표시
채택된 답변
Torsten
2023년 10월 9일
편집: Torsten
2023년 10월 9일
If the coefficients contain the unknowns, a matrix representation of your system of equations leads you nowhere.
Write your system of equations in the unknowns T_n as a system of algebraic equations G(T) = 0 and use "fsolve" to solve.
댓글 수: 2
Torsten
2023년 10월 9일
편집: Torsten
2023년 10월 9일
Thank you, I thought there was a way to solve with matrix representation.
The matrix representation of the equations is only useful if the matrix coefficients and the right-hand side are constant.
Sometimes it's necessary to use fixedpoint iteration
T^(i+1) = A(T^i)*T^i + b(T_i) (i: iteration index)
with T = (T(1),...,T(n)) if n is large, but if possible solve A(T)*T + b(T) - T = 0 using "fsolve". This will be much more efficient.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Systems of Nonlinear Equations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!