Find roots of quadratic matrix polyunomial
2 views (last 30 days)
Show older comments
I'd like to solve the following equation where are square complex matrices.
0 Comments
Answers (1)
Malay Agarwal
on 13 Jul 2023
% Define the matrix A as a complex matrix
A = complex(randn(5,5), randn(5,5));
% Define the equation function handle
eq = @(X) A*X^2 + X + A;
% Define the initial guess for X
x0 = complex(randn(5, 5), randn(5, 5));
% Solve the equation for X using fsolve
X_solution = fsolve(eq, x0);
% Display the solution for X
disp('Solution for X:');
disp(X_solution);
0 Comments
See Also
Categories
Find more on Polynomials in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!