Tagged: logical

Logical Subscripting

Matlab Logical Subscripting Tutorial 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...

The find Function

Find Function The find function determines the indices of array elements that meet a given logical condition. In its simplest form, find returns a column vector of indices. Transpose that vector to obtain a...

Specifying Class Precedence

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...

Syntax Reference & Specifying Attributes

Attribute Syntax For a quick reference to all attributes, see Attribute Tables. Attributes modify the behavior of classes and class components (properties, methods, and events). Attributes enable you to define useful behaviors without writing...

What Is Model-Based Design? Matlab Modeling Process

Model-Based Design Model-Based Design is a process that enables faster, more cost-effective development of dynamic systems, including control systems, signal processing, and communications systems. In Model-Based Design, a system model is at the center...

Computational Advantages

Memory Management Using sparse matrices to store data that contains a large number of zero-valued elements can both save a significant amount of memory and speed up the processing of that data. sparse is...

bsxfun

bsxfun – Apply element-by-element binary operation to two arrays with singleton expansion enabled Syntax C = bsxfun(fun,A,B) Description C = bsxfun(fun,A,B) applies an element-by-element binary operation to arrays A and B, with singleton expansion...