22 file = fullfile(fileparts(mfilename(
" fullpath ")),
" maxforces ");
65 s = load(models.motoneuron.Model.FILE_UPPERLIMITPOLY);
66 eff_mean_current =
polyval(s.upperlimit_poly,p(1,:));
68 h = pm.nextPlot(
" all ",
" fibre type ",
" values ");
69 plot(h,p(1,:),maxvals,
" r ",p(1,:),eff_mean_current,
" b ");
73 coeff = polyfit(p(1,:),maxvals,4);
76 plot(h,ax,ay,
" r-- ");
77 legend(
" Max activation ",
" Effective mean current ",
" Approx max activation ");
80 file = fullfile(fileparts(mfilename(
" fullpath ")),
" maxforces_poly ");
PlotManager: Small class that allows the same plots generated by some script to be either organized a...
logical LeaveOpen
Flag indicating if the plots should be left open once the PlotManager is deleted (as variable) ...
function MaxForce()
Script to determine the maximum force created by the sarcomere at maximum mean current for each fibre...