A Guide to MATLAB Object-Oriented Programming: 1st Edition (Paperback) book cover

A Guide to MATLAB Object-Oriented Programming

1st Edition

By Andy H. Register

Chapman and Hall/CRC

384 pages | 70 B/W Illus.

Purchasing Options:$ = USD
Paperback: 9781584889113
pub: 2007-05-14
$115.00
x
Hardback: 9781138460867
pub: 2017-08-29
$195.00
x
eBook (VitalSource) : 9780429138713
pub: 2007-05-14
from $57.50


FREE Standard Shipping!

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

Subject Categories

BISAC Subject Codes/Headings:
COM051010
COMPUTERS / Programming Languages / General
MAT000000
MATHEMATICS / General
MAT003000
MATHEMATICS / Applied