MATLAB: Reason for this error?

unreasonable error

>> i_close =(gi,se2); figure,imshow(i_close);
It's reporting the error=
??? i_close =(gi,se2); figure,imshow(i_close);
|
Error: Expression or statement is incorrect--possibly unbalanced (, {, or [.
i cant see any reason!!! Help..

Best Answer

i_close =(gi,se2);
This isn't valid MATLAB. Should there be a function call here, or are you trying to concatenate? Eg
i_close = functionname(gi,se2);
i_close = [gi,se2];
Related Question