compleximagesc

Plot complex-valued functions in color
117 descargas
Actualizado 29 dic 2014

Ver licencia

Compleximagesc is a replacement for the imagesc command that works with complex-valued matrices.
The matrix entries determine the color of the image. Brightness (value) is determined by the number's magnitude, while hue is determined by the argument.
Magnitude is mapped linearly to brightness; the range is determined automatically from the range of magnitudes in the image, or can be specified manually by including an [rmin rmax] parameter at the end of the argument list. rmin is mapped to black and rmax is mapped to maximum brightness.

Arguments (in the range 0 <= arg <= 2*pi) are mapped linearly to hue (in the range 0 <= h <= 1). For instance, an argument of 2*pi/3 corresponds to green, and 5*pi/6 corresponds to magenta.

compleximagesc supports all the syntax supported by imagesc:

h = compleximagesc(C)
h = compleximagesc(x,y,C)
h = compleximagesc(..., [rmin rmax])
h = compleximagesc(..., 'Property1', Value1, ... 'PropertyN', ValueN)

If no image C is provided, compleximagesc is the same as image.

Citar como

Peter Caday (2024). compleximagesc (https://www.mathworks.com/matlabcentral/fileexchange/48900-compleximagesc), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2012b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Colormaps en Help Center y MATLAB Answers.
Etiquetas Añadir etiquetas

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0