Object Arrays with Inheritance

Access Full Text

Object Arrays with Inheritance

For access to this article, please select a purchase option:

Buy chapter PDF
£10.00
(plus tax if applicable)
Buy Knowledge Pack
10 chapters for £75.00
(plus taxes if applicable)

IET members benefit from discounts to all IET publications and free access to E&T Magazine. If you are an IET member, log in to your account and the discounts will automatically be applied.

Learn more about IET membership 

Recommend Title Publication to library

You must fill out fields marked with: *

Librarian details
Name:*
Email:*
Your details
Name:*
Email:*
Department:*
Why are you recommending this title?
Select reason:
 
 
 
 
 
A Guide to MATLAB® Object-Oriented Programming — Recommend this title to your library

Thank you

Your recommendation has been sent to your librarian.

Author(s): Andy H. Register
Source: A Guide to MATLAB® Object-Oriented Programming,2007
Publication date January 2007

The paper states that with the introduction of cStar and cDiamond, the same class no longer represents both stars and diamonds. Even though both are derived from cShape and even though neither adds new features, cStar and cDiamond objects are different. These differences cast a big shadow on design because they force difficult choices between inheritance and vectorization.

Chapter Contents:

  • 13.1 When Is a cShape Not a cShape?
  • 13.1.1 Changes to subsasgn
  • 13.1.2 vertcat and horzcat
  • 13.1.3 Test Drive
  • 13.2 Summary
  • 13.3 Independent Investigations

Inspec keywords: object-oriented programming

Other keywords: inheritance; cStar function; Matlab; cShape function; vectorization; object array; cDiamond function

Subjects: Object-oriented programming

Preview this chapter:
Zoom in
Zoomout

Object Arrays with Inheritance, Page 1 of 2

| /docserver/preview/fulltext/books/pc/sbpc001e/SBPC001E_ch13-1.gif /docserver/preview/fulltext/books/pc/sbpc001e/SBPC001E_ch13-2.gif

Related content

content/books/10.1049/sbpc001e_ch13
pub_keyword,iet_inspecKeyword,pub_concept
6
6
Loading