Added matlab code samples.

All of these code samples currently are mis-identified in my repositories. I'm
donating them to the cause.
This commit is contained in:
Michele Mastropietro
2013-02-22 10:57:51 +01:00
parent b45c4f5379
commit c85255c5af
14 changed files with 803 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
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