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
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |