You are on page 1of 2

Table of Contents

........................................................................................................................................ 1
a = i.*m; ........................................................................................................................... 2
plot(m,a) ............................................................................................................................ 2
hold on .............................................................................................................................. 2
end ................................................................................................................................... 2

%%Campo vectorial

clear all
close

[x,y] = meshgrid(-6:1:6);
u = -x;
v = y;
quiver (u,v), axis square
hold on

%%m =[0:0.1:5];
%%for i=[0:1:5]

1
a = i.*m;
plot(m,a)
hold on
end
Published with MATLAB® R2020a

You might also like