1st Edition

A Guide to MATLAB Object-Oriented Programming





ISBN 9781584889113
Published May 14, 2007 by Chapman and Hall/CRC
384 Pages 70 B/W Illustrations

USD $125.00

Prices & shipping based on shipping country


Preview

Book Description

A Guide to MATLAB Object-Oriented Programming is the first book to deliver broad coverage of the documented and undocumented object-oriented features of MATLAB®. Unlike the typical approach of other resources, this guide explains why each feature is important, demonstrates how each feature is used, and promotes an understanding of the interactions between features.

Assuming an intermediate level of MATLAB programming knowledge, the book not only concentrates on MATLAB coding techniques but also discusses topics critical to general software development. It introduces fundamentals first before integrating these concepts into example applications. In the first section, the book discusses eight basic functions: constructor, subsref, subsasgn, display, struct, fieldnames, get, and set. Building on the previous section, it explores inheritance topics and presents the Class Wizard, a powerful MATLAB class generation tool. The final section delves into advanced strategies, including containers, static variables, and function fronts.

With more than 20 years of experience designing and implementing object-oriented software, the expert author has developed an accessible and comprehensive book that aids readers in creating effective object-oriented software using MATLAB.

Table of Contents

Introduction
Group of Eight
Meeting MATLAB’s Requirements
Member Variables and Member Functions
Changing the Rules … in Appearance Only
Displaying an Object’s State
fieldnames.m
struct.m
get.m, set.m
Simplify Using get, set, fieldnames, and struct
Drawing a Shape
Building a Hierarchy
Constructor Redux
Constructing Simple Hierarchies with Inheritance
Object Arrays with Inheritance
Child Class Members
Constructing Simple Hierarchies with Composition
General Assignment and Mutator Helper Functions
Class Wizard
Class Wizard Versions of the Shape Hierarchy
Advanced Strategies
Composition and a Simple Container Class
Static Member Data and Singleton Objects
Pass-by-Reference Emulation
Dot Functions and Functors
Protected Member Variables and Functions
Potpourri for $100
Index

...
View More

Support Material

Ancillaries