Version (1.03 KB) by Eric
plots an image with polar coordinates
Updated 6 Jan 2016

View License

Code taken from Max's answer to this question on Stack Overflow.
This function takes an input image of any dimension and outputs the image in polar coordinate representation.
rectImage2Polar(image) image can be any RGB array.

[imagesPolar,imagesPolarCropped] imagesPolar maintains the full resolution of the polar image and leaves a white background to fill the image to a square. images PolarCropped crops the image so no background filling is needed.

Cite As

Eric (2024). rectImage2Polar (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Polar Plots in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes