{"id":31922872,"url":"https://github.com/ariabehroozi/landingtask_emg_fz_analysis","last_synced_at":"2026-07-18T06:38:33.682Z","repository":{"id":316919979,"uuid":"1065343894","full_name":"AriaBehroozi/LandingTask_EMG_Fz_Analysis","owner":"AriaBehroozi","description":"MATLAB pipeline for detecting EMG onset/offset and vertical ground reaction force (Fz) contact during landing tasks. Includes feedforward (pre-activation) and feedback (post-activation) timing analysis.","archived":false,"fork":false,"pushed_at":"2025-09-27T14:55:28.000Z","size":1408,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-27T16:23:02.822Z","etag":null,"topics":["acl","biomechanics","emg","feedback","feedforward","forceplate","landing","matlab","neuromuscular-control"],"latest_commit_sha":null,"homepage":"","language":"MATLAB","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AriaBehroozi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-27T14:33:54.000Z","updated_at":"2025-09-27T15:03:53.000Z","dependencies_parsed_at":"2025-09-27T16:23:04.928Z","dependency_job_id":"6333c1b9-0f80-4157-9a5a-83dc89587d8d","html_url":"https://github.com/AriaBehroozi/LandingTask_EMG_Fz_Analysis","commit_stats":null,"previous_names":["ariabehroozi/landingtask_emg_fz_analysis"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/AriaBehroozi/LandingTask_EMG_Fz_Analysis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AriaBehroozi%2FLandingTask_EMG_Fz_Analysis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AriaBehroozi%2FLandingTask_EMG_Fz_Analysis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AriaBehroozi%2FLandingTask_EMG_Fz_Analysis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AriaBehroozi%2FLandingTask_EMG_Fz_Analysis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AriaBehroozi","download_url":"https://codeload.github.com/AriaBehroozi/LandingTask_EMG_Fz_Analysis/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AriaBehroozi%2FLandingTask_EMG_Fz_Analysis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279017241,"owners_count":26086015,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["acl","biomechanics","emg","feedback","feedforward","forceplate","landing","matlab","neuromuscular-control"],"created_at":"2025-10-13T23:26:43.947Z","updated_at":"2025-10-13T23:26:48.030Z","avatar_url":"https://github.com/AriaBehroozi.png","language":"MATLAB","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Landing Task EMG \u0026 Force Plate Analysis (MATLAB)\n\nThis repository provides a fully transparent and research-oriented MATLAB pipeline for analyzing **landing biomechanics** — combining **vertical ground reaction force (Fz)** and **surface EMG signals** to identify **muscle activation patterns** during landing.\n\n---\n\n🧠 Overview\n\nLanding tasks are widely used in sports biomechanics to evaluate **neuromuscular control** and **injury risk** (especially for ACL-related research).  \nThis code automates the detection of:\n\n- **Force plate events:** contact onset \u0026 offset (based on 10% body weight threshold)\n- **EMG preprocessing:** baseline correction, band-pass filtering (20–400 Hz), rectification, and envelope creation\n- **Onset and offset detection:** using mean + SD thresholds and a **stability rule** (≥ 25–50 ms)\n- **Feedforward (pre-activation)** and **Feedback (post-activation)** timing relative to ground contact\n\nAll calculations follow protocols supported by published research on neuromuscular activation during landing【1】【2】【3】.\n\n---\n\n 🚀 Features\n\n- 🔹 Automated **body weight detection** from stable standing phase  \n- 🔹 **Butterworth filtering** for both force and EMG  \n- 🔹 Baseline mean + 3SD thresholding for EMG onset  \n- 🔹 Dual-threshold hysteresis (3SD for onset, 1.5SD for offset)  \n- 🔹 **Feedforward (pre-activation)** vs **reactive activation** classification  \n- 🔹 Visualizations for each phase: raw vs filtered, envelope, onset/offset events  \n\n---\n\n🧩 How It Works\n\n1. **Input:** Excel file (`.xlsx`) with  \n   - Column 2: EMG signal  \n   - Column 11: Fz (vertical ground reaction force)  \n\n2. **Output:**  \n   - Detected **contact onset \u0026 offset** (force plate)  \n   - **EMG onset \u0026 offset** with thresholds  \n   - Printed report showing feedforward / feedback timings  \n   - Figures illustrating all processing steps  \n\n---\n\n 🧪 Example Output\n Feedforward (Pre-activation): 0.706 s before contact\nPost-activation: 0.221 s after contact ended\n\n\u003e Typical literature reports pre-activation ≈ 0.05–0.15 s before contact and post-activation ≈ 0.15–0.25 s after contact【1】【2】.\n\n---\n\n📊 Applications\n\n- ACL reconstruction research  \n- Landing mechanics and neuromuscular control  \n- Injury prevention studies  \n- Skill-based jump-landing assessments  \n\n---\n\n 📦 Requirements\n\n- MATLAB R2021a or newer  \n- Signal Processing Toolbox  \n- Input file: Excel (`.xlsx`) with columns as specified  \n\n---\n\n ⚙️ Usage\n\n```matlab\n% Place your Excel file (e.g., adinevand.land2.xlsx) in the same folder\nrun('Landing_EMG_Fz_Analysis.m')\n🔗 References\n\n【1】Santello, M. (2005). Feedforward control of hand posture and force during grip–load force coordination. J. Neurophysiol.\n\n【2】Cowling, E. J., \u0026 Steele, J. R. (2001). The effect of gender and task on neuromuscular control during landing. J. Electromyogr. Kinesiol.\n\n【3】McNair, P. J., \u0026 Marshall, R. N. (1994). Landing characteristics in subjects with normal and anterior cruciate ligament-deficient knees. Arch. Phys. Med. Rehabil.\n\n👨‍💻 Author\n\nAria Behroozi\nMSc Candidate – Sport Biomechanics\nUniversity of Tehran\n📫 LinkedIn : www.linkedin.com/in/aria-behroozi-1996\n\nIf this code helps your research, please ⭐ star the repo and cite it in your work.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fariabehroozi%2Flandingtask_emg_fz_analysis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fariabehroozi%2Flandingtask_emg_fz_analysis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fariabehroozi%2Flandingtask_emg_fz_analysis/lists"}