Why am i getting the : errir using inv ,Matrix must be square?

조회 수: 7 (최근 30일)
Gn Gnk
Gn Gnk 2019년 11월 8일
댓글: Walter Roberson 2019년 11월 10일
Hello ,
i have a created a toeplitz matrix H which is 12x8 .I want to run the command:
y=inv(H) but the compiler says : Error using inv Matrix must be square
Do you know where is the problem?
  댓글 수: 3
Gn Gnk
Gn Gnk 2019년 11월 9일
I want to find the equalizer of zero forcing fk :
Καταγραφή.PNG
So in order to find the fk matrix i need to multiply g matrix with the inverse of toeplitz matrix h
KALYAN ACHARJYA
KALYAN ACHARJYA 2019년 11월 9일
Is "h" is the square matrix?

댓글을 달려면 로그인하십시오.

답변 (1개)

Fabio Freschi
Fabio Freschi 2019년 11월 9일
As James Tursa said, inv(H) is not defined when H is not square. If you have the matrix H and the rhs g, simply use
f = H\g;

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by