Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

How to make lyap in a loop run faster?

1 vue (au cours des 30 derniers jours)
Yi
Yi le 6 Déc 2011
Clôturé : MATLAB Answer Bot le 20 Août 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 commentaire
bym
bym le 6 Déc 2011
make sure you preallocate!

Réponses (0)

Cette question est clôturée.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by