필터 지우기
필터 지우기

How to construct matrix for values have index?

조회 수: 1 (최근 30일)
Omar B.
Omar B. 2019년 10월 7일
댓글: Omar B. 2019년 10월 7일
I'm trying to construct a matrix H as the following pic. How can we write alpha _(-k,k) to get for example alpha _(0,0) or alpha _(-1,3) in Matlab?
Screen Shot 2019-10-06 at 4.13.04 PM.png

답변 (1개)

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2019년 10월 7일
Hi,
In this case, one of the possible easy solutions is to introduce new index series for alpha w.r.t its given values. As you know the index values can't be 0 or negative. Then insert them into H, e.g. H(1,1) = alpha(1);...
  댓글 수: 1
Omar B.
Omar B. 2019년 10월 7일
I think there's a way to do it just like the author did in the pic.

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

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by