Filter löschen
Filter löschen

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

1 Ansicht (letzte 30 Tage)
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.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 4 Feb. 2013
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 Kommentar
Usha Kiran Rajput
Usha Kiran Rajput am 4 Feb. 2013
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});

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by