Plotting points in the complex plane with certain color

Hey everyone
I have a uint8 matrix in the format of
A( 1:512 , 1:512 , 1:3)
storing information about a RGB map. I also have a second matrix B
B( 1:512 , 1:512 )
holding complex numbers.
Now I would like to plot for the entry (x,y) of B a point on the complex plane with the coordinates B(x,y) and the color of A(x,y,1:3). Do you have any idea how to do that?

Answers (0)

Products

Release

R2015b

Asked:

on 3 Aug 2018

Community Treasure Hunt

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

Start Hunting!