How to take curl of numeric vector fields?

8 次查看(过去 30 天)
Hello,
I have magnetic field vectors from FDTD simulations at different sets of (x,y) points. The H fields have numerical values at different (x,y) because I have extracted the data from simulation results. For example, the H fields are (101*101) dimensional matrices in Matlab. How can I calculate curl of H in this case?
And then, I'd like to get (curl H_x : x components of curl of H) and (curl H_y : y components of curl of H). How can I do this?
Thank you.

采纳的回答

Jacob Wood
Jacob Wood 2020-2-18
Matlab kindly includes a builtin curl() function, you can find information and a sample implementation here: https://mathworks.com/help/matlab/ref/curl.html

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Particle & Nuclear Physics 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by