Posts Tagged ‘logical’
Logical Subscripting
May 10th, 2010 No Comments Posted in Functions
The logical vectors created from logical and relational operations can be used to reference
subarrays. Suppose X is an ordinary matrix and L is a matrix of the same size that is the
result of some logical operation. Then X(L) specifies the elements of X where the
elements of L are nonzero. Read More
Specifying Class Precedence
April 23rd, 2010 No Comments Posted in Documents
InferiorClasses Attribute
You can specify the relative precedence of user-defined classes using the class InferiorClasses attribute. Assign a cell array of class names (represented as meta.class objects) to this attribute to specify classes that are inferior to the class you are defining. For example, the following classdef declares that myClass is dominant over class1 and class2. Read More
Tags: cell, char, Class Precedence and MATLAB Path, Classesdouble, Concatenating Objects of Different Classes, Determining Which Method Is Invoked, function_handle, Inferior, InferiorClasses, int16, int32, int64, int8, logical, matlab, single, struct, uint16, uint32, uint64, uint8, Working with Meta-Classes