Skip to content

Standardize readme #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
95 changes: 95 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
# README file for
*J. Neural Eng.* 2 (2005) 17–34
simulation .m files

These files were created with and run with Matlab version 7.0 (R14), with Statistical and Signal Processing toolboxes.

Copy all the m-files to a single directory on your computer. To use them, set the Matlab "Current Directory" to the path where the m-files reside, OR from any "Current Directory" add the path where the m-files reside by typing
```
>> addpath C:\Path\Where\The\Mfiles\Are
```
(for example) at the Matlab command prompt.

## Script Descriptions

- **Fig2.m** - run this script to reproduce Figure 2 (p. 20)
- calls twitch.m (function)

- **Fig3.m** - run this script to reproduce Figure 3 (p. 21)
- calls AxonThresh.m (function)

- **Fig4.m** - run this script to reproduce Figure 4 (p. 21)
- output will vary due to random distribution of axon properties
- Statistical toolbox required
- calls AxonThresh.m (function)
- calls AxonThreshPairs.m (function)

- **Fig5.m** - run this script to reproduce Figure 5 (p. 22)
- output will vary due to random selection of twitch sizes
- Statistical toolbox required
- calls twitch.m (function)

- **Fig6.m** - run this script to reproduce Figure 6 (p. 23)
- output will vary due to random distribution of axon thresholds
- Statistical toolbox required
- calls AxonThresh.m (function)
- calls AxonThreshPairs.m (function)

- **Fig7.m** - run this script to reproduce Figure 7 (p. 24)
- output will vary due to random properties of motor unit pool
- Statistical toolbox required
- calls AxonThresh.m (function)
- calls AxonThreshPairs.m (function)
- calls IM_pool.m (function)

- **Fig9.m** - run this script to reproduce Figure 9 (p. 26)
- simulation is time-consuming (2.4h on 2.6GHz Celeron w/ 512MB RAM)
- output will vary due to random properties of motor unit pool
- Statistical toolbox required
- calls AxonThresh.m (function)
- calls AxonThreshPairs.m (function)
- calls IM_pool.m (function)
- calls GetMBBAmps.m (script)

- **Fig12.m** - run this script to reproduce Figure 12 (p. 28)
- simulation is time-consuming (>24h on 2.6GHz Celeron w/ 512MB RAM)
- output will vary due to random properties of motor unit pool, and randomly selected motor unit samples
- Statistical toolbox required
- Signal Processing toolbox required
- calls MVCquicktest.m (script)
- calls STA_pool2.m (function)
- calls twitch.m (function)
- calls muap2.m (function)

## Support files

- **AxonThresh.m**
- calls Visolve.m
- **AxonThreshPairs.m**
- calls Visolve.m
- **GetMBBAmps.m**
- **IM_pool.m**
- calls twitch.m
- calls muap2.m
- **muap2.m**
- **muap2_memory.m**
- replaces muap2.m in STA_pool2.m (if OUT OF MEMORY during Fig12.m)
- recommend using muap2.m if possible as *_memory.m functions increase run time of Fig12.m substantially
- **MVCquicktest.m**
- **STA_pool2.m**
- calls twitch.m OR twitch_memory.m
- calls muap2.m OR muap2_memory.m
- **twitch.m**
- **twitch_memory.m**
- replaces twitch.m in STA_pool2.m (if OUT OF MEMORY during Fig12.m)
- recommend using twitch.m if possible as *_memory.m functions increase run time of Fig12.m substantially
- **Visolve.m**

Lora Major
June 3, 2005
[email protected]
(780) 492-4351

---

2025-05-30 – Standardized to Markdown.
93 changes: 0 additions & 93 deletions README.txt

This file was deleted.