I have a code as follows:
hsv=rgb2hsv(iOrg);
g=stdHue(hsv(:,:,1)*360);
where stdHue is a user defined function. but it shows me the following error.
Subscript indices must either be real positive integers or logicals.Error in ==> .............at 35g=stdHue(hround);
Is there any one to help me?
Thanks
Best Answer