20.07.2013 Views

Software matematic

Software matematic

Software matematic

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1.4. Programarea în MATLAB 41<br />

0.5<br />

0.4<br />

0.3<br />

0.2<br />

0.1<br />

0<br />

−0.1<br />

−0.2<br />

0.5<br />

0.4<br />

0.3<br />

0.2<br />

0.1<br />

0<br />

−0.1<br />

−0.2<br />

Curba Koch: nivel = 1<br />

0 0.2 0.4 0.6 0.8 1<br />

Curba Koch: nivel = 3<br />

0 0.2 0.4 0.6 0.8 1<br />

0.5<br />

0.4<br />

0.3<br />

0.2<br />

0.1<br />

0<br />

−0.1<br />

−0.2<br />

0.5<br />

0.4<br />

0.3<br />

0.2<br />

0.1<br />

0<br />

−0.1<br />

−0.2<br />

Curba Koch: nivel = 2<br />

0 0.2 0.4 0.6 0.8 1<br />

Curba Koch: nivel = 4<br />

0 0.2 0.4 0.6 0.8 1<br />

Figura 1.1: Curbe Koch create cu funct¸ia koch.<br />

Sursa MATLAB 1.7 Fulgul lui Koch<br />

function snowflake(edges,level)<br />

if nargin

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!