Skip to Main Content Skip to Search
Product Documentation

subsref - Class: NaiveBayes

Subscripted reference for NaiveBayes object

Syntax

b = subsref(nb,s)

Description

b = subsref(nb,s) is called for the syntax nb(s) when nb is a NaiveBayes object. S is a structure array with the fields:

typestring containing '()', '{}', or '.' specifying the subscript type.
subsCell array or string containing the actual subscripts.

  


 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS