Piecewise and blended functions

バージョン 1.2.1 (89.2 KB) 作成者: Sky Sartorius
Create piecewise functions or smoothly blend functions.
ダウンロード: 293
更新 2021/10/9

piecewise & blend

Create piecewise functions or smoothly blend functions.

View Piecewise and blended functions on File Exchange

piecewise

Create a piecewise function handle.

foo = PIECEWISE(f1,border,f2,border,f3,...) returns a function handle to a piecewise combination of provided functions (or constants), transitioning from one function to the next at the specified borders. When evaluate at the border, the function will return the midway value between functions.

blend

Uses hyperbolic tangent (tanh) to smoothly blend two functions or smoothly combine a piecewise function into a single function handle.

foo = BLEND(f1,f2,LOC,DIST) returns function handle foo which, when evaluated, will return a smooth blend between functions provided in handles f1 and f2.

blended discountinous functions

引用

Sky Sartorius (2024). Piecewise and blended functions (https://github.com/sky-s/piecewise-blend/releases/tag/v1.2.1), GitHub. 取得済み .

MATLAB リリースの互換性
作成: R2016a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersSmoothing についてさらに検索

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.2.1

See release notes for this release on GitHub: https://github.com/sky-s/piecewise-blend/releases/tag/v1.2.1

1.2

See release notes for this release on GitHub: https://github.com/sky-s/piecewise-blend/releases/tag/v1.2

1.1.0.0

Constant f1 and/or f2; better vectorized; input checking; examples and picture.

1.0.0.0

descr. typo

この GitHub アドオンでの問題を表示または報告するには、GitHub リポジトリにアクセスしてください。
この GitHub アドオンでの問題を表示または報告するには、GitHub リポジトリにアクセスしてください。