NMF tutorial · interactive figures
Browser versions of the MATLAB tutorials that go with Ting & Chvatal (2011), "Decomposing muscle activity in motor tasks: methods and interpretation." Compare how principal components analysis (PCA) and non-negative matrix factorization (NMF) break down EMG data. No MATLAB needed.
Mix two made-up synergies into 2-muscle data, change the weights and number of points, and watch NMF and PCA recover the synergies side by side.
16 muscles, 12 perturbation directions. Choose NMF or PCA and the number of synergies, then see VAF curves, synergy weights, tuning curves and per-muscle reconstructions.
The same analysis for about 6.7 s of walking EMG, with activations and reconstructions plotted over time in a zoomable window.