How to get the vector in a matrix (specific location)

1 回表示 (過去 30 日間)
fyza affandi
fyza affandi 2018 年 11 月 17 日
コメント済み: madhan ravi 2018 年 11 月 17 日
I have matrix A (8x4)
A= [ 1 0 0 0 0 0 0 0
2 0 0 0 0 0 0 0
3 0 0 0 0 0 0 0
4 5 6 7 8 9 10 11]
How can I get vector of B that start from row 4, column 2 till end?
B= [ 5 6 7 8 9 10 11]

採用された回答

madhan ravi
madhan ravi 2018 年 11 月 17 日
編集済み: madhan ravi 2018 年 11 月 17 日
A= [ 1 0 0 0 0 0 0 0
2 0 0 0 0 0 0 0
3 0 0 0 0 0 0 0
4 5 6 7 8 9 10 11]
B = A(4,2:size(A,2))
  4 件のコメント
fyza affandi
fyza affandi 2018 年 11 月 17 日
Thank you a lot!
madhan ravi
madhan ravi 2018 年 11 月 17 日
Anytime :)

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by