Vector fields, divergence and curl

版本 1.1.0 (680.4 KB) 作者: Lama Itani
Visualizes VF entered in cartesian, spherical, cylindrical and polar coordinates, computes div and curl. Includes live script for details.
200.0 次下载
更新时间 2020/11/25

How to use:
Download the VFDivCurl.mlproj and make sure you unzip the project. Once unzipped, open DemoDivCurlCertesian.mlx file. Run live script section-by-section. Note that the "Using the DivCurl app" section will automatically trigger the app.

Live Script content:
"Cartesian representation" section: In the first section of the Live Script, the user has to input the vector components (expressed in a Cartersian coordinate system) and chose the display setting (2D or 3D). Note that for a 2D display, the z-component will be dropped automatically. The vector field can be then displayed along with 2D colormaps for divergence and curl.

"Using the DivCurl app" section: In the second section of the script, the user will be able to run an application designed to display vector fields and calculate divergence and curl. The user needs to select the representation (Cartesian, Spherical or Cylindrical) and input his vector components accordingly. The vector fields are only displayed in a Cartersian coordiante system. The two sliders in the top right corner, arrows and grid, can be varied by the user to provide optimal display.

Toolbox used:
Symbolic Math Toolbox

Realease last tested:
Latest test: Nov. 8, 2020 with 2020b

引用格式

Lama Itani (2024). Vector fields, divergence and curl (https://github.com/mathworks/LS-App-VectorField-Div-Curl/releases/tag/1.1.0), GitHub. 检索时间: .

MATLAB 版本兼容性
创建方式 R2020b
与 R2017b 及更高版本兼容
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.1.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库