One option (if I understood your Question correctly):
v = pi/2; f = @(X,Y) (X.^2./cosh(v).^2)+(Y.^2./sinh(v).^2)-1; x = linspace(-5, 5, 50); [X,Y] = meshgrid(x);
figure(1) surf(X, Y, f(X,Y)) grid on xlabel('X') ylabel('Y') title('v = ^{\pi}/_2')
One option (if I understood your Question correctly):
v = pi/2; f = @(X,Y) (X.^2./cosh(v).^2)+(Y.^2./sinh(v).^2)-1; x = linspace(-5, 5, 50); [X,Y] = meshgrid(x);
figure(1) surf(X, Y, f(X,Y)) grid on xlabel('X') ylabel('Y') title('v = ^{\pi}/_2')
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!