Solving similar sets of equations multiple times

조회 수: 3 (최근 30일)
Alexander Holmes
Alexander Holmes 2020년 6월 29일
댓글: darova 2020년 6월 30일
I have several systems of equations that I want to solve. At each iterations, there's maybe fifty or so sets og equations I want to solve.
Over the course of my code, I solve each of these hundreds of thousands of times using linsolve, but with different parameter values at each iteration (so I can't directly reuse the solution form the equations I have already solved). But is there I way I can do this. I guess I'm thinking similarly to solving them symbolically, but some of the matrices may be getting up to around 100x100, maybe bigger, and so I don't think symbolically solving this will be feasible. Or are there any other ways I can speed up solving these systems of equations, given that it is the same structure at every iteration, but with different parameter values?
  댓글 수: 3
Alexander Holmes
Alexander Holmes 2020년 6월 30일
Okay, I just wanted to make sure there wasn't something smarter I should be doing. Thanks for your answer!
darova
darova 2020년 6월 30일
Im just doing my best

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

태그

제품


릴리스

R2017b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by