필터 지우기
필터 지우기

Need help its confusing.

조회 수: 2 (최근 30일)
TUSHAR MURATKAR
TUSHAR MURATKAR 2017년 7월 21일
댓글: TUSHAR MURATKAR 2017년 7월 21일
[row col dim] = size(f); In this matlab code what is the use of "dim"? after debugging the code its shows dim = 3. How this 3 come and what is its significance.

채택된 답변

Steven Lord
Steven Lord 2017년 7월 21일
It indicates that the product of the size of f in dimensions 3 through ndims(f) is 3. Most of the time, it means that f is a 3-dimensional array with three pages.
For example if we were looking at a notebook that is 7 inches tall and 5 inches wide with 100 sheets, we could say that its size is [7 5 100]. [Yes, I know I'm mixing units and I'm ignoring the covers. Bear with me for the sake of analogy.] If you computed:
[row col dim] = size(theNotebook)
row would be 7, col would be 5, and dim would be 100. If you had torn out 97 of the pages then dim would be 3; only three pages are left.
  댓글 수: 1
TUSHAR MURATKAR
TUSHAR MURATKAR 2017년 7월 21일
Very nice explanation

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by