Function File: m = vec2mat (v, c)
Function File: m = vec2mat (v, c, d)
Function File: [m, add] = vec2mat (…)

Converts the vector v into a c column matrix with row priority arrangement and with the final column padded with the value d to the correct length. By default d is 0. The amount of padding added to the matrix is returned in add.

Package: communications