diff options
| author | Gustav Sörnäs <gusso230@student.liu.se> | 2019-11-28 12:42:10 +0100 |
|---|---|---|
| committer | Albin <albwa833@student.liu.se> | 2019-11-29 11:39:21 +0100 |
| commit | 597c8a5a23044ecdf67af76df93529ee0a3f6ba2 (patch) | |
| tree | 286b9111cbc8fa2cce15eead42a1d1c0aa37517c /Kod/bilbana/yc4/fit_percents.m | |
| parent | 1a989c55ec63460c38fa09f3922991ab48adca5e (diff) | |
| download | tfyy51-597c8a5a23044ecdf67af76df93529ee0a3f6ba2.tar.gz | |
Lägg till gammal car.forecasts
Diffstat (limited to 'Kod/bilbana/yc4/fit_percents.m')
| -rw-r--r-- | Kod/bilbana/yc4/fit_percents.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kod/bilbana/yc4/fit_percents.m b/Kod/bilbana/yc4/fit_percents.m index ffdb9fc..7ccf0ba 100644 --- a/Kod/bilbana/yc4/fit_percents.m +++ b/Kod/bilbana/yc4/fit_percents.m @@ -8,4 +8,4 @@ for i = 1:length(percents) new_p = old_p - (old_p + cur_p) / 2; new_percents(i) = new_p; end - +new_percents = new_percents * (1/sum(new_percents)) % normera |
