Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

How to find unknown coefficients of a given matrix

2 views (last 30 days)
BG
BG on 18 Mar 2023
Closed: John D'Errico on 18 May 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 Comments
John D'Errico
John D'Errico on 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 on 19 Mar 2023
I was able to solve it using LU decomposition. Anyway, thanks for this

Answers (0)

This question is closed.

Products

Community Treasure Hunt

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

Start Hunting!