sylvester

sylvester(A,B,C)

Solves the real-valued Sylvester equation AX+XB=C for X

Try it yourself:

See also:
All functions