MATLAB and python code to simulate the biomechanical model described in Fink et al. (2014)
Akira Nagamori
- biomechanical_model.m (MATLAB code)
- biomechanical_model.ipynb (Python code in Jupyter notebook)
The model is simulated using its state-space representation. Inputs to flexor and extensor, I_e and I_f, are converted into extensor and flexor torques, T_e and T_f. These toruqes drive joint angle kinematics described by theta and theta_dot. Note that the model variables are dimensionless except for time. All parameters are the same as those in Fink et al., (2014). Feedback gain (h) and delay (t_delay) can be adjusted to manipulate effects of sensory feedback on joint kinematics.
- State vector, x = [theta;theta_dot;T_e;T_e_dot;T_f;T_f_dot]
- Input vector, u = [I_e;I_f]
- State matrix, A
- Delay matrix, A1
- Input matrix, B
Fink AJ, Croce KR, Huang ZJ, Abbott LF, Jessell TM, Azim E. Presynaptic inhibition of spinal sensory feedback ensures smooth movement. Nature. 2014 May 1;509(7498):43-8. doi: 10.1038/nature13276. PMID: 24784215; PMCID: PMC4292914.