Magnetic Field Given Bx, By,Bz and Given XYZ of Spacecraft

2 views (last 30 days)
If I'm given Bx, By, Bz for a planet's magnetic field in nT, how do I plot it in 3D? I've got the XYZ position of spacecraft too. I've seen the example codes of magnetic field, however, I would like to know as to how to approach this.

Answers (1)

KSSV
KSSV on 29 Jul 2020
You can use quiver3. Read about it.
  4 Comments
KSSV
KSSV on 5 Aug 2020
No idea...but according to the code you follwed that's what it is.

Sign in to comment.

Categories

Find more on Data Import and Analysis 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!