Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

How to find unknown coefficients of a given matrix

2 vues (au cours des 30 derniers jours)
BG
BG le 18 Mar 2023
Clôturé : John D'Errico le 18 Mai 2023
I have a matrix A with a as unknown coefficient. Need to find a. Please help! Do I use syms? Can I use root finding method?
A = [1 0 a^2; 2 0 8; 1 a 4]
B = [2; 4; 2]
  5 commentaires
John D'Errico
John D'Errico le 18 Mar 2023
Why not try it?
syms a
syms x y z
A = [1 0 a^2; 2 0 8; 1 a 4];
B = [2; 4; 2];
EQ = A*[x;y;z] == B
xyz = solve(EQ,[x,y,z],'returnconditions',true)
Think about what that tells you.
BG
BG le 19 Mar 2023
I was able to solve it using LU decomposition. Anyway, thanks for this

Réponses (0)

Cette question est clôturée.

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by