フィルターのクリア

What does ~ stand for in the following example?

3 ビュー (過去 30 日間)
Nicoleta
Nicoleta 2016 年 1 月 1 日
コメント済み: Star Strider 2016 年 1 月 9 日
What does this piece of code mean? [~,~,P] = size(I);

採用された回答

Star Strider
Star Strider 2016 年 1 月 1 日
The ‘~’ in that context tells the function to not return that particular output. Apparently ‘I’ is a 3D array, and the person who wrote that only wanted to know the number of ‘pages’ (3rd dimension) of it, not the number of rows or columns, the first and second dimensions respectively.
  2 件のコメント
Nicoleta
Nicoleta 2016 年 1 月 9 日
thx
Star Strider
Star Strider 2016 年 1 月 9 日
My pleasure.
If my Answer solved your problem, pleas Accept it.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by