15-5 ?件????

󪺬Y@өʽiHOt@تAoNOҿתEX]Aggregation^CY˵ڭ̪dҵ{ؿAiHݨt@ӥؿ @teamAOΨөwquvAغc禡pUG

Example 1: 15-ɦV{]p/@team/team.mfunction t = team(name, event, person1, person2, person3, person4) %TEAM team class constructor t.name = name; t.event = event; t.member(1) = person1; t.member(2) = person2; t.member(3) = person3; t.member(4) = person4; t = class(t, 'team'); % N t [ team

ѤWzغc禡iHݥXAC@䶤W١]name^Bѥ[ء]event^AHΥ|춤Aӳo|춤YO person OҲͪAyܻAteam member ʽV| person AoNO OOP EX{CҦpAڭ̥iHզX|ӰHΦ@ӹڤ۶AӰѥ[2012۴B400رOɡAdҦpUG

Example 2: 15-ɦV{]p/team01.mp1 = person('إ', 'k', 1.93, 95); p2 = person('', 'k', 2.26, 134); p3 = person('B', 'k', 1.88, 74); p4 = person('쪢', 'k', 1.73, 59); myTeam = team('Greater China', '2008 Olympics, 4x100', p1, p2, p3, p4)myTeam: W = "Greater China", = "2008 Olympics, 4x100", = [إ B 쪢 ]

team Oܨ禡AŪ̥iHۦѦҥѪdҵ{AbAحzC


MATLAB{]pGig