Bilinear Fit

버전 1.0.1 (2.28 KB) 작성자: William Rose
Fit two intersecting straight lines to a set of x,y data points.
다운로드 수: 68
업데이트 날짜: 2023/11/7

라이선스 보기

bilinearFit.m is a function that fits two intersecting straight lines to a set of x,y data points. The slopes and intercepts are chosen to minimize the sum squared error in the y-direction between the data and the corresponding line. The function calls lsqnonlin(), which is in the Optimization Toolbox.
Usage: [a0,a1,b0,b1,x0]=bilinearFit(x,y)
Fitting function:
if (red line in figure below)
if (blue line in figure below)
where is the x-coordinate of the intersection.
The script bilinearFitTest.m demonstrates the use of bilinearFit.m, and it displays results on the console and in a plot.
Reference: Josephson MD, Rose WC, Knight CA (2019). Evidence of bilinearity in the relationship between rate of neuromuscular excitation and rate of force development. Journal of Electromyography and Kinesiology 49: 102355. https://doi.org/10.1016/j.jelekin.2019.102355

인용 양식

William Rose (2024). Bilinear Fit (https://www.mathworks.com/matlabcentral/fileexchange/154677-bilinear-fit), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2023b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.1

Fixed a spelling error in the description. No other changes.

1.0.0