Skip to content

MaxwellM34/EMG_Lab3_Biceps_Curl_Analysis

Repository files navigation

EMG_Lab3_Biceps_Curl_Analysis

MATLAB scripts for processing elbow flexion lab data: filtering EMG, normalizing against a 25 lb isometric trial, and plotting muscle activation across load, angle, and movement phases.

Contents

  • newq1.m – Normalizes EMG for multiple weights, regresses vs elbow moment, and reports R².
  • newq3.m – Segments dynamic curls by goniometer trend to compare normalized EMG during raising vs lowering.
  • stuff.m – Time-limits dynamic trials (6.28–9.158 s), normalizes, and ensemble-averages EMG traces.
  • untitled4.m – Batch peak/RMS extraction for all trials plus average EMG vs dumbbell moment.
  • untitled5.m – Aggregates EMG across elbow angles (180–90°) and plots average activation.
  • untitled6.m – Finds rep tops/bottoms from goniometer peaks and compares EMG at each position.
  • untitled7.m – Static example bar chart using preset EMG values.
  • Document.docx – Lab write-up (not scripted).

Data Requirements

  • CSVs from Lab3FridaySectionData, sampled at 2000 Hz; EMG in columns 4–5, goniometer in column 3, data starting at row 6.
  • Update dataDirectory paths in each script to your local dataset.

Run

Open a script in MATLAB, confirm the dataDirectory, then run. Signal Processing Toolbox functions (butter, filtfilt) are required for filtering.

About

MATLAB scripts process elbow flexion EMG and goniometer data: filter/rectify, normalize to 25 lb isometric trial, and plot muscle activation vs load, elbow angle, movement phase, and rep positions; includes ensemble averaging, regression, and quick comparison bar charts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages