Find roots of quadratic matrix polyunomial
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I'd like to solve the following equation where are square complex matrices.
0 commentaires
Réponses (1)
Malay Agarwal
le 13 Juil 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 commentaires
Voir également
Catégories
En savoir plus sur Polynomials dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!