单项选择题

A.命令x=[-2:2]’,结果x=[-2-1012]
B.命令x=zeros(1,2);x>0,结果ans=1
C.命令y=diag(eye(3),1)’,结果y=[00]
D.命令5-10*rand(1,2),结果ans=[-5.05011.2311]