diff options
| author | David <davth346@student.liu.se> | 2019-10-18 16:59:49 +0200 |
|---|---|---|
| committer | David <davth346@student.liu.se> | 2019-10-18 16:59:49 +0200 |
| commit | 6e68e4311dc36cacafa874f632f9f11d94a752b4 (patch) | |
| tree | 3e8889e2fac37c9d07b3ead5c37cea6bedb83323 /Kod/bilbana/yc4/get_car_constant.m | |
| parent | 5ca6dbf74613a273e5a656614ac0edbeadb27330 (diff) | |
| download | tfyy51-6e68e4311dc36cacafa874f632f9f11d94a752b4.tar.gz | |
Merge branch 'david'
Diffstat (limited to 'Kod/bilbana/yc4/get_car_constant.m')
| -rw-r--r-- | Kod/bilbana/yc4/get_car_constant.m | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Kod/bilbana/yc4/get_car_constant.m b/Kod/bilbana/yc4/get_car_constant.m index b2d61f0..7f3aafb 100644 --- a/Kod/bilbana/yc4/get_car_constant.m +++ b/Kod/bilbana/yc4/get_car_constant.m @@ -1,7 +1,12 @@ function [ car_constant ] = get_car_constant( in_pos, pos ) %GET_CAR_CONSTANT Summary of this function goes here % Detailed explanation goes here - - + switch(in_pos) + case 1 + car_constant = 1; + case 2 + car_constant = 1.2; + end + return end |
