ematrsnn

resize matrix with nearest neighbor interpolation

Synopsis

newMatrix=ematrsnn(matrix,newRows,newCols)

Parameter(s)

matrix :

old matrix

newRows :

number of rows of new matrix

newCols :

number of cols of new matrix

newMatrix :

interpolated matrix

Close