I have a gray-scale image as an input. I want to rotate it 90 degrees with changing matrix indexes.
So this is the line in the Matlab I want to implement in Verilog :