bilogis

Some neat logistic functions with fixed endpoints
23 Downloads
Updated 10 May 2017

Ever wanted to use a logistic function but were annoyed that it didn't exactly fit your domain/range? Look no further! These functions fix endpoints to your logistic curves and give consistent curve-forms on any definite domain. Also included are half-logistic functions with the same properties, and analytic derivatives of all up to second order.
Usage example:

x = [x_1, x_2, x_3, ..., x_n];
bendParam = 10;
lo = min(x); %inf of original domain; can be something other than min(x)
hi = max(x);
newlo = 0; %inf of transformed domain
newhi = 5;

xnew = bilogis(x, bendParam, lo, hi, newlo, newhi);

Cite As

Gene Harvey (2026). bilogis (https://github.com/gharveymn/bilogis), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2017a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Statistics and Machine Learning Toolbox in Help Center and MATLAB Answers

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
1.0.0.0

Updates description to include example

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.