f = @(x,y,z) (x+z).^2 + y.^2 - 1;interval = [-1 1 -1 1 -1 1];fimplicit3(f, interval)
搜索一下matlab中cylinder这个函数