env_secant(x_data, y_data, view, side)

Envelope with secant-method
2.8K Downloads
Updated 1 Sep 2017

View License

Function call: env_secant(x_data, y_data, view, side)
Calculates an envelope of data <y_data> over <x_data>.
Method used: 'secant-method'
env_secant() observates the max. slope of every about <view> points from last junction point, and joints them to the resulting envelope.
An interpolation over original x-values is finally done.
<side> ('top' or 'bottom') defines which side to evolve.

Cite As

Andreas Martin (2024). env_secant(x_data, y_data, view, side) (https://www.mathworks.com/matlabcentral/fileexchange/27662-env_secant-x_data-y_data-view-side), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.4.0.0

Better check for input parameters.

1.3.0.0

Handles non-equidistant x_data now

1.2.0.0

Small speed improvements

1.0.0.0