Mapping rows of an array to radii and columns to angles

3 Ansichten (letzte 30 Tage)
I am solving the Laplace equation using polar coordinates (r,θ). I get the solution in this form where the rows correspond to radii and the collumns correspond to angles and plot using imagesc(X):
Now I want to be able to plot the solution such that the rows map to concentric rings. The first row X(1,:) should map to the origin and the last row should map to the outermost 'ring'. Is there any way to do this?

Akzeptierte Antwort

Cris LaPierre
Cris LaPierre am 4 Jan. 2021

Weitere Antworten (0)

Kategorien

Mehr zu Mathematics finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by