Analytical functions of any given constant square matrices have been developed for many schemes by this author. Among them, just pick up the most reliable and short approach. Surprisingly it works for many unsure cases, such as f(x)= x^x, x^x^x, exp(x)^sin(x), etc.
Feng Cheng Chang (2023). Function of square matrix: fA=fsm(fx,A) (https://www.mathworks.com/matlabcentral/fileexchange/66895-function-of-square-matrix-fa-fsm-fx-a), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired by: The Matrix Function Toolbox
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!