Find roots of quadratic matrix polyunomial
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I'd like to solve the following equation where are square complex matrices.
0 comentarios
Respuestas (1)
Malay Agarwal
el 13 de Jul. de 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 comentarios
Ver también
Categorías
Más información sobre Polynomials en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!