create_hyperbola
Version 1.0.0.0 (2.26 KB) by
Ohad Gal
Plots a hyperbola with it's asymptotes and axes.
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://in.mathworks.com/matlabcentral/fileexchange/3286-create_hyperbola), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R12.1
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Calculus in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
