create_hyperbola

Plots a hyperbola with it's asymptotes and axes.

You are now following this Submission

This function receives 6 parameters which defines a hyperbola. The parameters are:
*) 4 basic parameters (a,b,x0,y0) which define one of the 2 hyperbola equations
*) hyperbola type which defines which of the equations to use
*) orientation degree (in radian) for rotation of the hyperbola ABOUT THE ORIGIN

a hyperbola is defined by one of the following equations:

vertical hyperbola: ((y-y0)^2/a^2) - ((x-x0)^2/b^2) = 1
OR
horizontal hyperbola: ((x-x0)^2/a^2) - ((y-y0)^2/b^2) = 1

Cite As

Ohad Gal (2026). create_hyperbola (https://www.mathworks.com/matlabcentral/fileexchange/3286-create_hyperbola), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0