Basic FreeMat/MATLAB syntax - dimension error
- by 0x90
I am using FreeMat, and I have an RGB picture which is a 3D matrix contains the columns and rows of the pictures and the RGB values for each pixel.
Since there is not an intrinsic function to convert RGB picture to YIQ, I have implement one. I came up with this code:
Assume I have a 3D array, image_rgb:
matrix = [0.299 0.587 0.114;
0.596 -0.274…