
答案
正确答案为: 答:
(1)单元数组
A(1, :) = {'姓名', '学号','籍贯','平时成绩 考试成绩' }
A(2, :) = {'张三', '200801','山西' [80 77] }
A(3, :) = {'李四', '200802','陕西' [99 90]
A(4, :) = {'王五', '200803','重庆' [60 40] }
A(4,4)
ans=[1×2 double]
A{4,4}
ans=60 40
(2) 结构数组
student=struct('name',{'李四','张三'},'num',{'200801','200802'})
student(1).name
ans =
李四