필터 지우기
필터 지우기

about cat function in matlab

조회 수: 2 (최근 30일)
rathod ujjval rameshbhai
rathod ujjval rameshbhai 2015년 8월 13일
편집: Stephen23 2015년 8월 17일
c(:,:,1) =
1 2 3
4 5 6
c(:,:,2) =
7 8 9
10 11 12
Can anyone tell me what does (: :) mean above?
  댓글 수: 1
Stephen23
Stephen23 2015년 8월 14일
편집: Stephen23 2015년 8월 14일
What does this have to do with cat ?

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

채택된 답변

dpb
dpb 2015년 8월 13일
doc colon % can (and will)...

추가 답변 (1개)

Stephen23
Stephen23 2015년 8월 14일
편집: Stephen23 2015년 8월 17일
The documentation is a really good place to find out how things work and what they do:
In your examples the two colons mean "all elements along the first dimension (all rows), all elements along the second dimension (all columns)", whereas the 1 and 2 refer to the third dimension (page). To learn how MATLAB indexing works you should do the introduction tutorials:

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by