How to take curl of numeric vector fields?

7 Ansichten (letzte 30 Tage)
Junseob Kim
Junseob Kim am 18 Feb. 2020
Kommentiert: darova am 18 Feb. 2020
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.

Akzeptierte Antwort

Jacob Wood
Jacob Wood am 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

Weitere Antworten (0)

Kategorien

Mehr zu Particle & Nuclear Physics finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by