Was this a problem you had? can you post the rest of it and not just the answer you came up with? Otherwise, yea, what you got here is a failure to communicate. signal goes in, nothing comes out.
I am trying to model gravity with vector field lines in Matlab. I can kinda do it with a 2D plot, but I can't quite grasp the "scale" field in the quiver function. I then tried to model in 3D vectors and I just made a mess w/ that. Below is my simple 3D and 2D code.
Help w/ this code or if...