find the tform and then shear or skew the image
Raj cRaze (2020). to perform shearing or skewing of an image (https://www.mathworks.com/matlabcentral/fileexchange/39833-to-perform-shearing-or-skewing-of-an-image), MATLAB Central File Exchange. Retrieved .
One of a series of homework assignments uploaded by this author. This one shows how to produce a skewed image, as shown in the Matlab docs. The function has no comments and will not accept arbitrary images.