Has anyone replicated the visualization example for function fitcdiscr?

I've been trying to plot the boundaries calculated by fitcdicr. However, the values contained in MdlLinear.Coeffs do not seem to work at all. Even copying the code in the example script does not replicate the figures shown. (<http://www.mathworks.com/help/stats/discriminant-analysis.html>)
Has anyone made sense of this function?

回答(1 个)

Hello!I've been trying to plot the boundaries calculated by fitcdicr. I did it! What do you want to know exactly?

产品

Community Treasure Hunt

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

Start Hunting!

Translated by