MATLAB: How can i draw graph of z^2=x^2-y^2 on matlab MATLAB C/C++ Graphics Librarysurface Best Answer Is this what you want:f = @(x,y) (x.^2 - y.^2).^2; % Your Functionx = linspace(-10, 10, 150); % X-Rangey = linspace(-10, 10, 150); % Y-Range[X,Y] = meshgrid(x,y); % Create Matrix Argumentsfigure(1)sh = surf(X, Y, f(X,Y));set(sh, 'EdgeColor','none')grid on Related SolutionsMATLAB: Vcapg2 i already get it... %For Camera Captured%cardum=vcapg2;x=vcapg2;imwrite (x,'cam1.jpg');subplot(4,2,1);imshow (x);title('cam1'); % Read Imagex = imread('cam1.jpg');imshow(x);subplot(4,2,2);imwrite (x,'cam1.jpg');title('Original Image'); MATLAB: WriteaMALTABscriptfileforplottingthebelowsurfacesbycoloringthesurfacewithacolormap, appropriately naming the axis and titling the plot. 1. z = sin(x+y)/ x^2+y^2 for (x,y) ∈ [−2,2]×[1,3] syms x yh=ezsurf(sin(x+y)/(x^2+y^2))xlim([-2 2])ylim([1 3]) Related QuestionUsing quad2dIntegral2 Error messageHow to plot function with conditions (3d)
Best Answer