Divergence-Curl Demo
This demo allows the user to input an arbitrary 2-D vector field as a function of Cartesian (x,y) and/or polar coordinates (r,t). The value of the vector field is shown with arrows using the QUIVER command. The user can overlay the divergence, curl, and magnitude as scalar fields shown in color. This serves as a simple, easy-to-use visualization tool for vector fields, and because the user can input arbitrary functions, allows for more interactive experimentation than simply looking at a few graphs out of a textbook.
Citar como
Teja Muppirala (2024). Divergence-Curl Demo (https://www.mathworks.com/matlabcentral/fileexchange/41735-divergence-curl-demo), 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.