MATLAB Answers

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

20 views (last 30 days)
Daynah Rodriguez
Daynah Rodriguez on 28 Jul 2020
Commented: KSSV on 5 Aug 2020
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.


Sign in to comment.

Answers (1)

KSSV on 29 Jul 2020
You can use quiver3. Read about it.


Show 1 older comment
KSSV on 5 Aug 2020
No idea...but according to the code you follwed that's what it is.

Sign in to comment.


Community Treasure Hunt

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

Start Hunting!