How to construct matrix for values have index?
3 ビュー (過去 30 日間)
古いコメントを表示
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?
0 件のコメント
回答 (1 件)
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);...
参考
カテゴリ
Help Center および File Exchange で Matrices and Arrays についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!