%pouziti funkce ezplot, ezsurf

figure(1)
ezplot('(x^2+y^2)^2-4*(x^2-y^2)',[-2,2,-2,2]);
hold on
ezplot('x^2+y^2-x*y-3',[-2,2,-2,2]);
axis equal
hold off


figure(2)
ezplot3('t*sin(3*t)','t*cos(3*t)','t',[0,3*pi]);
axis tight 


figure(3)
colormap([1 1 1])
ezsurf('(2+cos(v))*cos(u)','(2+cos(v))*sin(u)','sin(v)')
axis equal tight


figure(4)
colormap([1 1 1])
ezsurf('(cos(v))*cos(u)','(cos(v))*sin(u)','sin(v)')
axis equal tight