<< NL_F_RemoveVecIndex NL_F: Function NL_F_ReverseMatrixCol >>

NARVAL >> NL_F: Function > NL_F_RemoveVecIndexes

NL_F_RemoveVecIndexes

Remove values from a vector at defined indexes.

Calling Sequence

[V] = NL_F_RemoveVecIndexes(V,I)

Arguments

V :

Vector.

I :

Vector of indexes.

Description

NL_F_RemoveVecIndexes removes the values stored at the indexes I of the vector V.

Examples

v=1:10;//vector
//[1 2 3 4 5 6 7 8 9 10]
vi=[1 3 4 6 10];//indexes
[vv]=NL_F_RemoveVecIndexes(v,vi)//application of NL_F_RemoveVecIndexes

Dependency

NL_F_RemoveVecIndex

Report an issue
<< NL_F_RemoveVecIndex NL_F: Function NL_F_ReverseMatrixCol >>