intercepts
Syntax
intercepts(indep_vec, dep_vec)
Argument
- indep_vec
- The independent vector.
- dep_vec
- The dependent vector which is inspected for zero values.
Example
Templex Expression | Result |
---|---|
a=0:10:1
|
{0, 3.33333, 6.66667, 10} |
Comments
This function determines all of the independent vector values at which the dependent vector exactly equals 0. If the dependent vector contains a 0 value, the corresponding independent vector value is appended to the result. If the dependent vector has values which bracket 0, linear interpolation is used to determine the independent vector value where the dependent vector exactly equals 0.