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 CenterMATLAB Answers에서 Smoothing에 대해 자세히 알아보기

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 리포지토리로 가십시오.