thesis/set_initial_conditions.m

8 lines
125 B
Matlab

function x0 = set_initial_conditions(i)
switch i
case 0
x0 = [0; 0; 0]
case 1
x0 = [0; 0; PI]
end
end