필터 지우기
필터 지우기

How can i pass the one cell of array to any function as argument.

조회 수: 1 (최근 30일)
I divided my image into image block using mat2cell() now i need to pass only one cell of array to further divide it in smaller parts.

채택된 답변

Walter Roberson
Walter Roberson 2013년 2월 4일
Suppose your cell array is C, and you want to pass the array that is at C(P,Q). Then what you would pass is C{P,Q} -- notice the curly brackets.
  댓글 수: 1
Usha Kiran Rajput
Usha Kiran Rajput 2013년 2월 4일
I got the error-
??? Error using ==> strfind Input strings must have one row.
Error in ==> imread at 340 if (strfind(filename, '://'))
Error in ==> PixelBlock at 24 rgbImage = imread(input_img);
Error in ==> Demo1 at 75 PixelBlock(ca{2,3});

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

추가 답변 (0개)

태그

Community Treasure Hunt

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

Start Hunting!

Translated by