mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 09:40:21 +00:00
All of these code samples currently are mis-identified in my repositories. I'm donating them to the cause.
12 lines
190 B
Matlab
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 |