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.
引用格式
Teja Muppirala (2024). Divergence-Curl Demo (https://www.mathworks.com/matlabcentral/fileexchange/41735-divergence-curl-demo), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!