Borrar filtros
Borrar filtros

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

1 visualización (últimos 30 días)
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.

Respuesta aceptada

Walter Roberson
Walter Roberson el 4 de Feb. de 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 comentario
Usha Kiran Rajput
Usha Kiran Rajput el 4 de Feb. de 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});

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by