<< NARVAL_F_ColumnExtract NARVAL NARVAL_F_DiffVectors >>

NARVAL >> NARVAL > NARVAL_F_Delet

NARVAL_F_Delet

Remove a value from a vector.

Calling Sequence

[v]=NARVAL_F_Delet(v,val)

Parameters

v :

vector.

val :

value.

Description

NARVAL_F_Delet removes the first occurence of the value val inside the vector v.

Examples

v=[1 2 3 4 5 6 7];//original vector
val1=3;//value under consideration
v1=NARVAL_F_Delet(v,val1);//application of NARVAL_F_Delet
val2=6;//value under consideration
v2=NARVAL_F_Delet(v,val2);//application of NARVAL_F_Delet
v
val1
v1
val2
v2

Author

http://wwwen.uni.lu/interdisciplinary_centre_for_security_reliability_and_trust

Contact

<< NARVAL_F_ColumnExtract NARVAL NARVAL_F_DiffVectors >>