im not getting the following error .Matlab file is attached

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

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Argument Definitions finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by