필터 지우기
필터 지우기

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 CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by