フィルターのクリア

How to discard entries from a matrix

1 回表示 (過去 30 日間)
Iftekharuddin Syed
Iftekharuddin Syed 2020 年 11 月 12 日
コメント済み: Setsuna Yuuki. 2020 年 11 月 12 日
There is a matrix A (size:12x1000)
I want to extract entires after the 100th value, that means all the values before 100(i.e.1 to 99) are discarded. And the resulting matrix contains only values from 100th column to 1000th column.
Can anyone help me with the code.
  1 件のコメント
Setsuna Yuuki.
Setsuna Yuuki. 2020 年 11 月 12 日
A = ones(12,1000); % 12x1000 matrix
B = A(:,100:1000); % A(1-----12,100 -------> 1000)

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

採用された回答

Steven Lord
Steven Lord 2020 年 11 月 12 日

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMultidimensional Arrays についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by