diff options
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 |
