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
Citar como
Ohad Gal (2024). create_hyperbola (https://www.mathworks.com/matlabcentral/fileexchange/3286-create_hyperbola), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |