How to take curl of numeric vector fields?

6 views (last 30 days)
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.

Accepted Answer

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

More Answers (0)

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!