単位行列を生成する.
imat = unit( dim )
dim : 次元数 (Scalar)
imat : 出力オブジェクト (Snapshot)
% imat = unit(2) % imat [0]:[0]% 1 0 [1]:[0]% 0 1