R语言中矩阵逆序转置代码解释

一年前都记得,这次要修改,忘了,所以决定记下了。 PlotM<- function(Z,heatc=12) {   m<-ncol(Z);   n<-nrow(Z);   MM<-matrix(0,m,n);   MM[1:m,]<-t(Z[,1:m][n:1,]);   image(MM,axes=FALSE,col=heat.colors(heatc)); } 下面是解释 PlotM<- fu
相关文章
相关标签/搜索