akabee01
Computer
- Sep 16, 2006
- 2
I am having a problem with the fliplr function. I'm am trying to just read in an image file and then flip it. I do...
img = imread('test.jpg')
flp = fliplr(img)
but everytime I get the same error saying
??? Error using ==> fliplr
X must be a 2-D matrix.
which I really dont understand since I can cearly see the matrix for the image file. Another thing is that the function worked perfectly fine before but for some reason, after that one time it just gives that same error
Any help would be appreciated thanks
img = imread('test.jpg')
flp = fliplr(img)
but everytime I get the same error saying
??? Error using ==> fliplr
X must be a 2-D matrix.
which I really dont understand since I can cearly see the matrix for the image file. Another thing is that the function worked perfectly fine before but for some reason, after that one time it just gives that same error
Any help would be appreciated thanks