I am new to Matlab. Trying to use quiver to plot a velocity field. This is my code that gets to the plot but doesn't show any arrows.
[x,y] = meshgrid(0:0.2:5,0:0.2:5);
u = 2./x;
v = 2.*y./(x.^2);
figure
quiver(x,y,u,v)
MATLABplottingquiver
Best Answer