Create a specific matrix (MATLAB)
古いコメントを表示
Dear members
I want create a square matrix in such a way that I got the general form:

For example if we have m=4, we got:

How can I program that please!
採用された回答
その他の回答 (1 件)
This is one way:
A = flipud(toeplitz([4 3 2 1]))
カテゴリ
ヘルプ センター および File Exchange で MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!