i'm having this error:
Error using convConst
A must be a 4x4 or bigger 2D or 3D float array.
while debugging the code i found out that I=160903 after calling rgbConvertMex become 160901277669775489321 and this is why Convcost show me this error.
how can i fix this error please