How to replace last row of matrix with a vector?

3 ビュー (過去 30 日間)
Manasa Tarigoppula
Manasa Tarigoppula 2019 年 9 月 21 日
回答済み: madhan ravi 2019 年 9 月 21 日
If matrix M is a magic 5x5 matrix, how do I create Matrix M, but the last row is replaced by another vector Row?
  1 件のコメント
David Hill
David Hill 2019 年 9 月 21 日
Look at array indexing

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

回答 (1 件)

madhan ravi
madhan ravi 2019 年 9 月 21 日

カテゴリ

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