MATLAB: How to Plot graph to find electric field intensity and electric flux density and electric potential at a point distance ‘d’ due to charge ‘Q’ I have the code how to find the answer but i want how to plot it in 3d

3d plotsMATLAB

Best Answer

To plot in "3-D", use plot3().
You might also look into quiver() and scatter3().