Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

How to make lyap in a loop run faster?

5 Ansichten (letzte 30 Tage)
Yi
Yi am 6 Dez. 2011
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
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 Kommentar
bym
bym am 6 Dez. 2011
make sure you preallocate!

Antworten (0)

Diese Frage ist geschlossen.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by