不需要指定精度,下面是绘图程序。function funplot()figure;fplot(@fcn,[-0.1 0.1])function y=fcn(x)y=sin(1./tan(pi.*x));