Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
Usha Kiran Rajput
Usha Kiran Rajput le 4 Fév 2013
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.

Réponse acceptée

Walter Roberson
Walter Roberson le 4 Fév 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 commentaire
Usha Kiran Rajput
Usha Kiran Rajput le 4 Fév 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});

Connectez-vous pour commenter.

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by