create_hyperbola
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 (2024). create_hyperbola (https://www.mathworks.com/matlabcentral/fileexchange/3286-create_hyperbola), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |