OriginLab Corporation - Scientific Graphing and Data Analysis Software - 2D graphs, 3D graphs, Contour Plots, Statistical Charts, Data Exploration, Statistics, Curve Fitting, Signal Processing, and Peak Analysis

vfind

Contents

Brief Information

Find all vector elements whose values are equal to a specified value

Command Line Usage

1. vfind ix:=col(1) value:=3 ox:=col(2);

2. vfind ix:=col(3) value:=1.25 ox:=col(4) tol:=0.05;

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
Dataset to find value ix

Input

vector

<active>

Specifies the input vector.

Value to find value

Input

double

0

Specifies the value to find in the input vector,

Indices of all found value ox

Output

vector

<new>

Specifies the output vector to save the indices of all found elements.

Tolerance tol

Input

double

0

Specifies the tolerance used in the search.

Description

This function find all vector elements whose values are equal to a specified value.

Examples

For more examples, please refer to XF Script Dialog (press F11).