필터 지우기
필터 지우기

How to solve the linear system in the matlab?

조회 수: 1 (최근 30일)
Onur Metin Mertaslan
Onur Metin Mertaslan 2020년 8월 18일
답변: John D'Errico 2020년 8월 18일
eqn 1: a*Q+b*Y=2380E
eqn 2: b*T-a*K=2386E
Q, Y, T and K are known 64*64 Matrices
a, b and E are 1*64 row vectors
and we are trying to find the a and b matrices.
Is there anyone who can help me about that problem? I could not find a way to solve the systems with matrices.
Thank you!

채택된 답변

John D'Errico
John D'Errico 2020년 8월 18일
Easy peasy.
ab = [2380*E,2385*E]/[Q , -K; Y , T];
a = ab(1:64);
b = ab(65:end);

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by