필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

How to find unknown coefficients of a given matrix

조회 수: 3 (최근 30일)
BG
BG 2023년 3월 18일
마감: John D'Errico 2023년 5월 18일
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
John D'Errico
John D'Errico 2023년 3월 18일
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 2023년 3월 19일
I was able to solve it using LU decomposition. Anyway, thanks for this

답변 (0개)

이 질문은 마감되었습니다.

제품

Community Treasure Hunt

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

Start Hunting!

Translated by