more initial conditions

master
EmaMaker 2024-07-13 11:32:23 +02:00
parent 08abc69415
commit 500672a350
1 changed files with 4 additions and 2 deletions

View File

@ -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