<< 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,vl)

Parameters

v :

vector.

vl :

value.

Description

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

Examples

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

Authors

Foued Melakessou

Contact

Dr. Foued Melakessou

Research Associate

Interdisciplinary Centre for Security, Reliability and Trust

Room F106

University of Luxembourg

6, rue Coudenhove Kalergi

L-1359 Luxembourg-Kirchberg

E-mail: foued.melakessou@uni.lu

Tel: (+352) 46 66 44 5346

Home Page


<< NARVAL_F_ColumnExtract NARVAL NARVAL_F_DiffVectors >>