Plot a 2D matrix using a color plot

I have a 3D matrix where the i spans an angle , the j spans a value for a radius r and the k spans a set of times. The value in the entry is a positive number. What I would like to do is to plot, for each k, a 2D colored map of the matrix such that in the point of coordinates () it plots a color depending on the value of . In particular if I would like a specific color, say green, while the more approaches 0 I would like another color to be plotted, say blue, and red if becomes larger than 1.

More Answers (0)

Categories

Products

Release

R2023a

Asked:

on 21 Apr 2024

Answered:

on 21 Apr 2024

Community Treasure Hunt

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

Start Hunting!