DCOLOR uses a coloring function to map the angle and modulus of complex data to color. This technique is known as domain coloring, and is an excellent tool to explore the behavior of complex-valued functions.
DCOLOR can produce plots using either a complex matrix or a function handle as the source data. There are several built-in coloring functions as well as the option to supply a user-defined coloring function as a function handle. Additionally, the 'grid' option can create contours of the real and imaginary parts of the complex data. See the help text for details and usage examples.
The following references have more information about visualizing complex-valued functions using domain coloring, including example images:
http://www.maa.org/pubs/amm_complements/complex.html
http://www.math.liu.se/~halun/complex/domain_coloring-unicode.html
http://www.mathworks.com/company/newsletters/news_notes/clevescorner/summer98.cleve.html
http://commons.wikimedia.org/wiki/User:Jan_Homann/Mathematics
http://www1.american.edu/academic.depts/cas/mathstat/People/lcrone/ComplexPlot.html
Zitieren als
John Barber (2024). dcolor (https://www.mathworks.com/matlabcentral/fileexchange/29028-dcolor), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- Image Processing and Computer Vision > Image Processing Toolbox > Import, Export, and Conversion > Image Type Conversion >
Tags
Quellenangaben
Inspiriert von: Shaded pseudo color, Domain Coloring
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.2.0.0 | - Added option to return image color data as a matrix of RGB values |
||
1.1.0.0 | - Added ability to supply function handle to calculate W
|
||
1.0.0.0 |