<< NL_F_Unity NL_F: Function NL_F_VoronoiIncremental >>

NARVAL >> NL_F: Function > NL_F_Vector2MatrixColumn

NL_F_Vector2MatrixColumn

Transform a vector into a matrix (NxN).

Calling Sequence

[M] =NL_F_Vector2MatrixColumn(V,N)

Arguments

V :

Vector.

N :

Column size.

M :

Matrix.

Description

NL_F_Vector2MatrixColumn transmorms the vector V into the matrix M composed by N columns. Zeros are used to fill the matrix in the case of unmatchable sizes.

Examples

v=1:4;
[m] =NL_F_Vector2MatrixColumn(v,3)//application of NL_F_Vector2MatrixColumn

Report an issue
<< NL_F_Unity NL_F: Function NL_F_VoronoiIncremental >>