quadforms

版本 1.2.1 (1.8 KB) 作者: Giampiero Campa
Convert quadratics from Homogeneous to Center form and back.
715.0 次下载
更新时间 2023/9/13

quadratic-form-conversion

Convert quadratics from Homogeneous to Center form and back.

View quadratic-form-conversion on File Exchange

This zip file contains 2 functions to transform generic (nD) quadratic hyper-surfaces from homogeneous form (that is [x' 1]E[x;1]=0) to center form (that is (x'-c')inv(Q)(x-c)=1, which is used for example in the ellipsoidal toolbox).

Examples: % zero-centered ellipse of semiaxes 1 and 2 % center to homogeneous form: E=c2h(diag([1 4]),[0 0]') % homogeneous to center form: [Q,c]=h2c(E)

引用格式

Giampiero Campa (2024). quadforms (https://github.com/giampy1969/quadratic-form-conversion/releases/tag/v1.2.1), GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R2009b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Mathematics and Optimization 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.2.1

See release notes for this release on GitHub: https://github.com/giampy1969/quadratic-form-conversion/releases/tag/v1.2.1

1.2.0.0

Added BSD license file

1.0.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库