フィルターのクリア

Shortening Matrix to specific number

2 ビュー (過去 30 日間)
sam van Bohemen
sam van Bohemen 2019 年 11 月 21 日
コメント済み: sam van Bohemen 2019 年 11 月 22 日
I have a matrix 139776 x 1. I need to shorten the matrix to 138240 x 1.
How can I do this?
Also, Is there a way to shorten the matrix to the nearest factor of Y.
Thanks
  2 件のコメント
Walter Roberson
Walter Roberson 2019 年 11 月 21 日
Do you want to just discard the extra values, or do you want interpolation ?
sam van Bohemen
sam van Bohemen 2019 年 11 月 21 日
discarad them

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

採用された回答

Walter Roberson
Walter Roberson 2019 年 11 月 22 日
YourMatrix(138240+1:end) = [];
  1 件のコメント
sam van Bohemen
sam van Bohemen 2019 年 11 月 22 日
thanks for your help

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

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