An interactive introduction to MATLAB

(Jeff_L) #1
2.33d plotting using plot3 and surf 29

ï0.4

ï0.3

ï0.2

ï0.1

0

0.1

0.2

0.3

0.4

ï 1

ï0.5

0

0.5

1

ï 1

ï0.5

0

0.5

1

ï0.5

0

0.5

x

f(x,y)=csin(2/a 3 (x^2 +y^2 ))

y

z


Figure 10: Surface plot (usingsurf) of the functionz=c·sin(2πa


x^2 +y^2 )

ï0.4

ï0.3

ï0.2

ï0.1

0

0.1

0.2

0.3

0.4

ï 1

ï0.5

0

0.5

1

ï 1

ï0.5

0

0.5

1

ï0.5

0

0.5

x

f(x,y)=csin(2/a 3 (x^2 +y^2 ))

y

z


Figure 11: Surface plot (usingmesh) of the functionz=c·sin(2πa


x^2 +y^2 )
Free download pdf