How to change the pixel axis to the center of the image?

1 view (last 30 days)
I want to change the axis of pixels from 1:200 to -100:100 and later normalize it down as-1:1 as shown without changing the image. I was able to shift the axis through this code
https://in.mathworks.com/matlabcentral/answers/406919-how-to-set-custom-origin-point#answer_325812
but I couldn't later user the axes shifted image since ERROR was shown when a saved this to a variable. Please tell me how to change the pixel so I can use in further of the code.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!