フィルターのクリア

How could I extract last column in a matrix if I don't know the size of matrix?

93 ビュー (過去 30 日間)
Bajdar Nour
Bajdar Nour 2019 年 2 月 26 日
コメント済み: Vinod 2023 年 1 月 9 日
I want to select only last coloumn..because in my program the size of matices is change every time..these are some example of my matices
(150x23)
(150x34)
(150*41)
...etc

採用された回答

madhan ravi
madhan ravi 2019 年 2 月 26 日
matrix(:,end)
  3 件のコメント
madhan ravi
madhan ravi 2019 年 2 月 26 日
matrix(:,1:end-1)
Vinod
Vinod 2023 年 1 月 9 日
thank you helpful me

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

その他の回答 (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