How do you make this matrix?

3 ビュー (過去 30 日間)
Karan Sandhu
Karan Sandhu 2016 年 3 月 3 日
コメント済み: Karan Sandhu 2016 年 3 月 3 日
In the picture above, I have been tasked to recreate matrix e using any viable functions. However, I have been wrestling with it for hours so I would appreciate some assistance. This is my first programming class ever so I am struggling a lot doing this kind of stuff. Thanks for the help.

採用された回答

Walter Roberson
Walter Roberson 2016 年 3 月 3 日
kron(ones(3,3),kron(eye(2),ones(2,2)))
Note: kron is a somewhat advanced function to use for this. You should probably think about repmat()
  1 件のコメント
Karan Sandhu
Karan Sandhu 2016 年 3 月 3 日
Thank you sir.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMatrix Indexing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by