more initial conditions
parent
08abc69415
commit
500672a350
|
@ -1,8 +1,10 @@
|
|||
function x0 = set_initial_conditions(i)
|
||||
switch i
|
||||
case 0
|
||||
x0 = [0; 0; 0]
|
||||
x0 = [0; 0; 0];
|
||||
case 1
|
||||
x0 = [0; 0; PI]
|
||||
x0 = [0; 0; pi];
|
||||
case 2
|
||||
x0 = [0, 0; pi/6];
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue