The statement which can create the third order matrix of ones A are ( ).
A: A=[ones(3,1), ones(3,1), ones(3,1)]
B: A=ones(3)
C: A=diag(eye(3))*ones(1,3)
D: A=ones(3,3)
A: A=[ones(3,1), ones(3,1), ones(3,1)]
B: A=ones(3)
C: A=diag(eye(3))*ones(1,3)
D: A=ones(3,3)