function repmatIdentity1 input Integer n "size of identity matrix to be repeated"; input Integer i "number of repetitions"; output Real[i*n, n] mat; end repmatIdentity1;