www.gusucode.com > symbolic 源码程序 matlab案例代码 > symbolic/SpecifyADiskPlottingRangeExample.m
%% Specify Disk Plotting Range % First, plot the expression |sin(x^2 + y^2)| over the square range % |-pi/2 < x < pi/2|, |-pi/2 < y < pi/2|. % Copyright 2015 The MathWorks, Inc. syms x y ezsurf(sin(x^2 + y^2), [-pi/2, pi/2, -pi/2, pi/2]) %% % Now, plot the same expression over the disk range. ezsurf(sin(x^2 + y^2), [-pi/2, pi/2, -pi/2, pi/2],'circ')