You are on page 1of 11

NAMA :AGSHAL SYAHMAJI (1803332051)

KELAS : PTT-4D
PRAKTIK PSD

Plot Garis

Plot Helix
Plot Permukaan (1)
PLOT MESH

PLOT SURF
Plot Permukaan (2)
PLOT SURF

PLOT CONTOUR
PLOT MESH COUNTUR

Plot Quiver
Plot Ezsurf

Plot Ezsurf (2)


Perbandingan Surf dan Mesh

Multi dimensional
TUGAS
1. PLOT MESH DAN PLOT SURF
>> batas_x = -10:1:10; batas_y = -10:4:10;
>> [X,Y] = meshgrid(batas_x,batas_y);
>> Z = X.^2 - Y.^2;
>> mesh(X,Y,Z);
>> surf(X,Y,Z);
2. PLOT CONTOUR DAN PLOT MESH CONTOUR
>> x = linspace(-10,10,40); y = x;

>> [X,Y] = meshgrid(x,y);


>> R = sqrt(X.^2+Y.^2);
>> Z = cos(R)./(R+eps); >>
figure; contour(X,Y,Z); >>
figure; meshc(X,Y,Z);
3. PLOT EZSURF
>> ezsurf('x*y*exp(-(2*x^2 - 2*y^2))')

You might also like