The mathematical model is strong. Although an fatal error prevents MATLAB 7 from loading the GUI figure "wavf_gen.fig" in GUIDE. So, please upload the files again.
tried this code. m getting an error like this
??? Undefined function or method 'iptchecknargin' for input arguments of type 'double'.
Error in ==> rgb2gray>parse_inputs at 76
iptchecknargin(1,1,nargin,mfilename);
Error in ==> rgb2gray at 35
X = parse_inputs(varargin{:});
Error in ==> seg at 9
im1=rgb2gray(im);
Comment only