Main Content
col2im
Rearrange matrix columns into blocks
Syntax
Description
rearranges each column of matrix A
= col2im(B
,[m n]
,[M N]
,'distinct')B
into a distinct
m
-by-n
block to create the matrix
A
of size
M
-by-N
.
For example, if B
consists of column vectors
Bi(:)
with length m*n
, arranged as
B = [B1(:) B2(:) B3(:) B4(:)]
, then A = [B1 B3; B2
B4]
where each block Bi
has size
m
-by-n
.
Examples
Input Arguments
Output Arguments
Version History
Introduced before R2006a