quadraticDecBoundary
Contents
Syntax
- dec=quadraticDecBoundary(coef, opt, showPlot)
Description
dec=quadraticDecBoundary(coef) returns the decision boundary
- dec.xData: x data
- dec.yData: y data
Example
coef=[3 0 2 0 0 -1];
coef=[0.772843431368348 1.7042585658336 0.459374184427391 -1.28361190573556 -1.39223947583745 3.19189119579733e-16];
opt=quadraticDecBoundary('defaultOpt');
dec=quadraticDecBoundary(coef, opt, 1);