im not getting the following error .Matlab file is attached

1 visualización (últimos 30 días)
>> maingui1 Error using vertcat Dimensions of matrices being concatenated are not consistent.
Error in maingui1>fltimg_Callback (line 143) p_im_n= [ zeros(ln,im_sz(2)) ; im_n ; zeros(ln,im_sz(2))];
Error in gui_mainfcn (line 95) feval(varargin{:});
Error in maingui1 (line 42) gui_mainfcn(gui_State, varargin{:});
Error in matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)maingui1('fltimg_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback

Respuesta aceptada

James Tursa
James Tursa el 22 de Mzo. de 2018
You could get this error if im_n is a matrix that does not have im_sz(2) number of columns.
  2 comentarios
Komal Gaikwad
Komal Gaikwad el 25 de Mzo. de 2018
ok sir will look into it thnx
Komal Gaikwad
Komal Gaikwad el 25 de Mzo. de 2018
also i have to find the variance of image for above code.how to find it?

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Creating and Concatenating Matrices en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by