im not getting the following error .Matlab file is attached

조회 수: 1(최근 30일)
>> 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

채택된 답변

James Tursa
James Tursa 2018년 3월 22일
You could get this error if im_n is a matrix that does not have im_sz(2) number of columns.
  댓글 수: 2
Komal Gaikwad
Komal Gaikwad 2018년 3월 25일
also i have to find the variance of image for above code.how to find it?

댓글을 달려면 로그인하십시오.

추가 답변(0개)

범주

Find more on Creating and Concatenating Matrices in Help Center and File Exchange

태그

Community Treasure Hunt

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

Start Hunting!

Translated by