Between numbers

Find values betwee original values in a vector

You are now following this Submission

Calculate the values between two values in any vector.
Use: v2 = intAB(v)
When v have n elements, v2 will have n-1 elements.
Example:
v = [1,2,3,4,5]
v2 = intAB(v)
v2 = [1.5,2.5,3.5,4.5]

Cite As

Håvard Falck (2026). Between numbers (https://in.mathworks.com/matlabcentral/fileexchange/46109-between-numbers), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Interpolation in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0