A Guide to MATLAB Object-Oriented Programming


Andy. Register
Bok Engelsk 2007 · Electronic books.
Annen tittel
Utgitt
Stevenage : : The Institution of Engineering and Technology, , 2007.
Omfang
1 online resource (382 p.)
Opplysninger
Description based upon print version of record.. - Table of Contents; Figures; Code Listings; Tables; About the Author; Preface; Chapter 1: Introduction; 1.1 Examples; 1.2 Object-Oriented Software Development; 1.2.1 At the Top of Your Game; 1.2.2 Personal Development; 1.2.3 Wicked Problems; 1.2.4 Extreme Programming; 1.2.5 MATLAB, Object-Oriented Programming, and You; 1.3 Attributes, Behavior, Objects, and Classes; 1.3.1 From MATLAB Heavyweight to Object-Oriented Thinker; 1.3.2 Object-Oriented Design; 1.3.3 Why Use Objects?; 1.3.4 A Quality Focus; 1.3.4.1 Reliability; 1.3.4.2 Reusability; 1.3.4.3 Extendibility; 1.4 Summary. - 3.2.3 A Short Side Trip to Examine Function Search Priority3.2.4 Example Code: Accessors and Mutators, Round 1; 3.2.4.1 Constructor; 3.2.4.2 Accessors; 3.2.4.3 Mutators; 3.2.4.4 Combining an Accessor and a Mutator; 3.2.4.5 Member Functions; 3.2.5 Standardization; 3.3 The lest Drive; 3.4 Summary; 3.5 Independent Investigations; Chapter 4: Changing the Rules ... in Appearance Only; 4.1 A Special Accessor and a Special Mutator; 4.1.1 A Short Side Trip to Examine Overloading; 4.1.1.1 Superiorto and Inferiorto; 4.1.1.2 The Built-in Function; 4.1.2 Overloading the Operators subsref and subsasgn. - 4.1.2.1 Dot-Reference Indexing4.1.2.2 subsref Dot-Reference, Attempt 1; 4.1.2.3 A New Interface Definition; 4.1.2.4 subsref Dot-Reference, Attempt 2: Separating Public and Private Variables; 4.1.2.5 subsref Dot-Reference, Attempt 3: Beyond One-to-One, Public-to-Private; 4.1.2.6 subsref Dot-Reference, Attempt 4: Multiple Indexing Levels; 4.1.2.7 subsref Dot-Reference, Attempt 5: Operator Conversion Anomaly; 4.1.2.8 subsasgn Dot-Reference; 4.1.2.9 Array-Reference Indexing; 4.1.2.10 subsref Array-Reference; 4.1.2.11 subsasgn Array-Reference; 4.1.2.12 Cell-Reference Indexing. - 4.1.3 Initial Solution for subsref.m4.1.4 Initial Solution for subsasgn m; 4.1.5 Operator Overload, mtimes; 4.2 The Test Drive; 4.2.1 subsasgn Test Drive; 4.2.2 subsref Test Drive; 4.3 Summary; 4.4 Independent Investigations; Chapter 5: Displaying an Object's State; 5.1 Displaying Objects; 5.1.1 What Should Be Displayed?; 5.1.2 Standard Structure Display; 5.1.3 Public Member Variable Display; 5.1.3.1 Implementing display.m, Attempt 1; 5.1.3.2 Implementing display.m, Attempt 2; 5.2 Developer View; 5.2.1 Implementing display.m with Developer View Options; 5.3 The Test Drive. - 5.5 Independent Investigations. - Part 1: Group of EightChapter 2: Meeting MATLAB's Requirements; 2.1 Variables, Types, Classes, and Objects; 2.2 What Is a MATLAB Class?; 2.2.1 Example: Class Requirements; 2.2.1.1 Class Directory; 2.2.1.2 Constructor; 2.2.1.3 The Test Drive; 2.3 Summary; 2.4 Independent Investigations; Chapter 3: Member Variables and Member Functions; 3.1 Members; 3.2 Accessors and Mutators; 3.2.1 A Short Side Trip to Examine Encapsulation; 3.2.1.1 cShape Variables; 3.2.2 cShape Members; 3.2.2.1 cShape Private Member Variables; 3.2.2.2 cShape Public Interface. - This book discusses why each object-oriented feature of MATLAB? is important, demonstrates the use of each feature, and promotes understanding of the interactions between features. With more than 20 years of experience designing and implementing object-oriented software, the expert author explains how he has successfully solved issues related to object-model completeness, public variables, the mixing of objects and vector operations, and the debugging of object-oriented code to create clear and beneficial systems. Chapters include discussions of MATLAB requirements, member variables and fun
Emner
Sjanger
Dewey
ISBN
158488911X. - 9781584889113

Bibliotek som har denne