getPropulsiveForce.m
% This function is part of the NMSM Pipeline, see file for full license.
%
% This function zeros out the negative portions of the anterior-posterior
% force to obtain the propulive force.
%
% (struct, struct, struct) -> (Array of number)
%
function propulsiveForce = getPropulsiveForce(anteroPosteriorForce)
anteroPosteriorForce = anteroPosteriorForce - 10; % Noise buffer
anteroPosteriorForce(anteroPosteriorForce<=0) = 0;
propulsiveForce = anteroPosteriorForce;
end