MATLAB Object-Oriented Programming

(Joyce) #1
Query the area of the defined circle:

ca.Area

ans =

164.2202

Call the overloaded plot method:

plot(ca)

5 Class Definition—Syntax Reference

Free download pdf