I wish to solve the following equation on Matlab:
A^(T)P + P A + µA^(T)P A = −M,
where A is known matrix and M is a positive-definite matrix as well as µ is a known constant. P is a matrix to be found.
Note: I looked into the lyap function and think of it is as a some kind extension of it. I am not asking for solution but any hints would be highly helpful.