Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How to make lyap in a loop run faster?

1 回表示 (過去 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