Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

How to make lyap in a loop run faster?

조회 수: 4 (최근 30일)
Yi
Yi 2011년 12월 6일
마감: MATLAB Answer Bot 2021년 8월 20일
Hi, I am running a loop to repeatedly solve the Sylvester equation AX+XB+C = 0 with the same A and B but different C in each iteration. The help document of lyap says it transforms A and B into Schur form every time, and in my case A and B never changes.
So I am wondering if there is a way to somehow skip the transformation each time when lyap is called? Or is there some other ways to make it run faster?
Thanks a bunch!
- y
  댓글 수: 1
bym
bym 2011년 12월 6일
make sure you preallocate!

답변 (0개)

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by