Matrix and Image Rotation

Allows rotation of matrix or greyscale image. Option to resize or maintain original dimensions of image.

https://github.com/EvanCzako/matrix-rotation

You are now following this Submission

Simple rotation of matrices or greyscale images.

rotate_image_regrid rotates the image and resizes its dimensions as necessary to incorporate all of the original image into the rotated output.

rotate_image_no_regrid rotates the image but maintains its original dimensions, implying that some data may be cropped out. This function also contains code to ensure that the image remains properly centered despite discrepancies between the parities of the rotated image's dimensions and the input image's dimensions. Particularly useful for circular apertures.

Please see function descriptions for further details.

Cite As

Evan Czako (2026). Matrix and Image Rotation (https://github.com/EvanCzako/matrix-rotation), GitHub. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes Action
1.0.3

Connected to GitHub.

1.0.1

Updated image.

1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.