Sove an equation in matrix format

I have an equation:
X' A X + B' X + C =0 (' -> transpose)
X' : [ x y]
A : [ 13 -8 ; -8 1 ]
B' : [ 59 -43 ]
C : - 69
This is my decision boundary equation for two features and i need to plot it. Can i do this directly? On solving manually i get an equation: 13 x^2 + y^2 - 16xy + 59x - 43y - 69 But when the number of features increase manually obtaining the equation becomes tedious.
Thank you

답변 (0개)

카테고리

도움말 센터File Exchange에서 Mathematics and Optimization에 대해 자세히 알아보기

태그

질문:

2015년 2월 4일

편집:

2015년 2월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by