Created
September 28, 2011 07:46
-
-
Save Tarrasch/1247265 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
F1=@(x,y,z) x-1; F2=@(x,y,z) 2.*z; F3=@(x,y,z) -y; | |
x=linspace(0,3,11); | |
y=linspace(1,4,10); | |
z=linspace(-2,2,10); | |
[X,Y,Z]=meshgrid(x,y,z); | |
quiver3(X,Y,Z,F1(X,Y,Z),F2(X,Y,Z),F3(X,Y,Z)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment