How to solve matrix function in Matlab?
4 views (last 30 days)
Paul Hoffrichter on 21 Feb 2021
Edited: Paul Hoffrichter on 21 Feb 2021
Define Z = AXB + C - X
You have to start off with your initial best guess for X based upon the nature of the model. For lack of any information, guess that X_0 = C. (Then Z = ACB.)
Create a Q = cost function for Z. You could try the trace of Z, and then check to see if Z has all entries close to 0.
You then need to find a zero crossing of your cost function. To do this, you can use fzero.
Other initial guesses may result in different answers if there are multiple roots.