Files
linguist/samples/Matlab/Check_plot.m
Michele Mastropietro c85255c5af Added matlab code samples.
All of these code samples currently are mis-identified in my repositories. I'm
donating them to the cause.
2013-02-22 10:57:51 +01:00

12 lines
190 B
Matlab

x_0=linspace(0,100,101);
vx_0=linspace(0,100,101);
z=zeros(101,101);
for i=1:101
for j=1:101
z(i,j)=x_0(i)*vx_0(j);
end
end
figure
pcolor(x_0,vx_0,z)
shading flat