Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sunsided/trekking-times

Implementations of Naismith's rule, Tobler's rule, etc. for trekking and hiking times
https://github.com/sunsided/trekking-times

aitken-langmuir-corrections hiking hiking-times matlab naismith-rule tobler-rule trekking

Last synced: about 1 month ago
JSON representation

Implementations of Naismith's rule, Tobler's rule, etc. for trekking and hiking times

Awesome Lists containing this project

README

        

# Trekking and Hiking Times #

Trekking and hiking time rule MATLAB implementations for Naismith's rule, Naismith's rule with Aitken-Langmuir corrections and Tobler's rule.

## Naismith's rule ##

* Function available in `naismith.m`
* Example plot available in `naismith_plot.m`

### Example ###

track_length = 20; % km
ascend = 1; % km
[w, t] = naismith(track_length, ascend)

## Naismith's rule with Aitken-Langmuir corrections ##

* Function available in `naismith_al.m`
* Example plot available in `naismith_al_plot.m`

### Example ###

base_speed = 4; % km /h
track_length = 20; % km
ascend = 1; % km
[w, t] = naismith_al(track_length, ascend)

## Tobler's rule ##

* Function available in `tobler.m`
* Plot will be generated when called without return parameter

### Example ###

slope = tand(10); % tand(degree)
track_factor = 1; % e.g. 1 (footpaths), 0.6 (off-path)
[w] = tobler(slope, track_factor)

% create plot
tobler(slope, track_factor)

## Tranter's correction table ##

Correction table to Naismith's rule.

* Table available in `tranter_table.m`
* Least squares best-fit function available in `tranter.m`
* Plotting of these two in `tranter_plot.m`
* Fitting testbench in `tranter_fit.m`

### Example ###

time = 5; % hours
fitness = 25; % Tranter minutes
[t] = tranter(time, fitness)