I'm a beginner in matlab and I'm trying to transform a photo according to a function given in the code. My aim is to see where some points of the R^2 plan go. For example, i'd like to transform :
But I can't figure this out. I found some good conversations on this topic:
and good functions like :
https://www.mathworks.com/help/images/ref/imtransform.html
https://www.mathworks.com/help/images/ref/imwarp.html
but I don't understand what to do with that because I don't have a matrix but just like the function "1/z"...
The aim is to do something better than this :
How to plot the Wolfram Alpha grid? [MATLAB]
I've tried to add colors to the mesh graph but I ve not succed in doing so... I could only find how to change uniformly the colors, like setting all in green...
If you have another solution not using an image but constructing a grid of a range of colors and then deforming it (like in the link) or even better, instead of a grid, creating a whole plan with an uniform distribution of the colors... it also fixes the problem!
Thank you !