diff --git a/matlab/get_settings.m b/matlab/get_settings_car.m similarity index 95% rename from matlab/get_settings.m rename to matlab/get_settings_car.m index f4946dd13c4a7cfbeb180a9eb158b2099c7f1bc3..833d75b968b45599554ed3f1986eca62d7e7c0ff 100644 --- a/matlab/get_settings.m +++ b/matlab/get_settings_car.m @@ -5,9 +5,10 @@ % % Edit: Isaac Skog (skog@kth.se), 2016-09-01 % Revised: Bo Bernhardsson 2018-01-01 +% Revised: Claudio Mandrioli 2019-02-26 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -function settings=get_settings() +function settings=get_settings_car() diff --git a/matlab/get_settings_cycling.m b/matlab/get_settings_cycling.m index 117a77048621f0d94a9516b05319e83ee96e09b4..966f0639ed346d23d3ad94ef7ebc046c01271a0f 100644 --- a/matlab/get_settings_cycling.m +++ b/matlab/get_settings_cycling.m @@ -5,9 +5,10 @@ % % Edit: Isaac Skog (skog@kth.se), 2016-09-01 % Revised: Bo Bernhardsson 2018-01-01 +% Revised: Claudio Mandrioli 2019-02-26 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -function settings=get_settings() +function settings=get_settings_cycling() diff --git a/matlab/run_many_car.m b/matlab/run_many_car.m index 1c0b64a21cb746be761306488085ff81d747ada5..af2d2c92fe6923ade2986c5be5a74b4ed80fdefe 100644 --- a/matlab/run_many_car.m +++ b/matlab/run_many_car.m @@ -6,14 +6,14 @@ load('GNSSaidedINS_data.mat'); %% Load filter settings disp('Loads settings') -settings=get_settings(); +settings=get_settings_car(); %vector of RGB colors for plotting for the different P references color=[[0.7,0.0,0.0];[0.0,0.7,0.0];[0.7,0.0,0.7];[0.0,0.0,0.7];[0.0,0.7,0.7];[0.7,0.7,0.0]]; %vector of refrences for P P_treshold=[4.0,5.0,6.0,8.0,10.0,12.0]; -%nubmer of runs per each P -n_run=30; +%number of runs per each P +n_run=1; %allocate memory for output energy=zeros(n_run,length(P_treshold)); error=zeros(n_run,length(P_treshold)); diff --git a/matlab/run_many_cycling.m b/matlab/run_many_cycling.m index b777297d7386a8ad68da6bbd8a695618106e02ff..a347c51e578b351b2cf450af12a94b8e72582bd9 100644 --- a/matlab/run_many_cycling.m +++ b/matlab/run_many_cycling.m @@ -13,7 +13,7 @@ color=[[0.7,0.0,0.0];[0.0,0.7,0.0];[0.7,0.0,0.7];[0.0,0.0,0.7];[0.0,0.7,0.7];[0. %vector of refrences for P P_treshold=[4.0,5.0,6.0,8.0,10.0,12.0]; %nubmer of runs per each P -n_run=30; +n_run=1; %allocate memory for output energy=zeros(n_run,length(P_treshold)); error=zeros(n_run,length(P_treshold));