How to rotate an image in Matlab
11 views (last 30 days)
For my class project I have to create an app which loads an image and allows you to change Red, blue, green colors and the brightness. I have sucessfully coded this app. Now I have to add a button which would allow me to rotate the image 90 degrees each time. The requirements is that I do not use any pre existing matlab functions, but have to create my own.
Would greatly appreciate any help on this. Thank you.
J Chen on 4 May 2022
You basically read the image into a matrix, then change the array element to a different location (swich row to column, etc.)