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
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