Location: Tran 2017 - Cross-bridge model of shortening heat @ 70c85f9bc526 / passiveForces.m

Author:
Kenneth Tran <k.tran@auckland.ac.nz>
Date:
2017-08-31 15:35:06+12:00
Desc:
Adding online links.
Permanent Source URI:
https://models.physiomeproject.org/workspace/4a2/rawfile/70c85f9bc526e95d066e088954387d87b82f72c9/passiveForces.m

% Function to calculate the passive force
% Passive force function is fitted to passive data presented in Fig 2D

function PF = passiveForces(SL, passive)

    if passive

        x = SL/2.3;
        SHAM = [-1212.77 4497.99 -5565.60 2298.68]/110;
        PF = SHAM(1) + SHAM(2).*x + SHAM(3).*x.^2 + SHAM(4).*x.^3;

    else
        
        PF = 0;
end