高中学过的函数图像有对数函数,指数函数,三角函数,椭圆,双曲线等,函数图像比较多,因此,不一一列举以每类函数进行绘制图像
syms x y;
f1=sin(x);
f2=cos(x);
f3=log(x);
f4=exp(x);
f5=(x*x)/36+(y*y)/25-1;
f6=(x*x)/3-(y*y)/5-1;
subplot(2,3,1)
ezplot(f1)
grid on
subplot(2,3,2)
ezplot(f2)
grid on
subplot(2,3,3)
ezplot(f3)
grid on
subplot(2,3,4)
ezplot(f4)
grid on
subplot(2,3,5)
ezplot(f5)
grid on
subplot(2,3,6)
ezplot(f6)
grid on