Description Usage Arguments Value Warning Examples
trib.CoF
gets file name length and returns coeficient of friction in
bar plot generates global var CF
1 |
x |
Numeric value length of file name for truncation. Truncated file name is given at output for ease of use. |
DATAOUT |
logical scalar checking whether give data out or not |
Plots a bar plot of Coeficient of Friction generated from all files in working directory and generates a vector called CF that contains Average Coefficient of Friction values
Set work directory to file containing example data for Tribometer directory should be
Before using this function please set your working directory to the directory that contains .csv files from tribometer. File structure should be as follows
Time | Distance | Laps | mu | FrictionForce |
0,100 | 0 | 0,00000 | 0,18478 | 0,55435 |
You can check example datasets at package files exdata/tribometer
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.