I have a matrix like this
const.mat2<-matrix(0, nrow=4*nrow(obj.mat), ncol=n*m)
The obj.mat is 3x5 I want to assign values to specific cel