diff --git a/matlab/mat/Khac_iff_struts.mat b/matlab/mat/Khac_iff_struts.mat index 1d04fd7..14e0933 100644 Binary files a/matlab/mat/Khac_iff_struts.mat and b/matlab/mat/Khac_iff_struts.mat differ diff --git a/matlab/mat/Khac_iff_struts_jacobian_cok.mat b/matlab/mat/Khac_iff_struts_jacobian_cok.mat new file mode 100644 index 0000000..8c729d4 Binary files /dev/null and b/matlab/mat/Khac_iff_struts_jacobian_cok.mat differ diff --git a/matlab/mat/Khac_iff_struts_svd.mat b/matlab/mat/Khac_iff_struts_svd.mat new file mode 100644 index 0000000..bbb90ae Binary files /dev/null and b/matlab/mat/Khac_iff_struts_svd.mat differ diff --git a/matlab/mat/Kiff_opt.mat b/matlab/mat/Kiff_opt.mat new file mode 100644 index 0000000..f012c04 Binary files /dev/null and b/matlab/mat/Kiff_opt.mat differ diff --git a/matlab/mat/frf_iff_unbalanced_vib_table_m.mat b/matlab/mat/frf_iff_unbalanced_vib_table_m.mat new file mode 100644 index 0000000..2f5d337 Binary files /dev/null and b/matlab/mat/frf_iff_unbalanced_vib_table_m.mat differ diff --git a/matlab/mat/frf_iff_vib_table_m.mat b/matlab/mat/frf_iff_vib_table_m.mat new file mode 100644 index 0000000..3ab57f2 Binary files /dev/null and b/matlab/mat/frf_iff_vib_table_m.mat differ diff --git a/matlab/mat/frf_vib_table_m.mat b/matlab/mat/frf_vib_table_m.mat new file mode 100644 index 0000000..a5b1e67 Binary files /dev/null and b/matlab/mat/frf_vib_table_m.mat differ diff --git a/matlab/mat/identified_plants_enc_plates_masses.mat b/matlab/mat/identified_plants_enc_plates_masses.mat new file mode 100644 index 0000000..d724c42 Binary files /dev/null and b/matlab/mat/identified_plants_enc_plates_masses.mat differ diff --git a/matlab/mat/noise_meas_100s_20kHz.mat b/matlab/mat/noise_meas_100s_20kHz.mat new file mode 100644 index 0000000..7312858 Binary files /dev/null and b/matlab/mat/noise_meas_100s_20kHz.mat differ diff --git a/matlab/mat/sim_iff_vib_table_m.mat b/matlab/mat/sim_iff_vib_table_m.mat new file mode 100644 index 0000000..5c255b8 Binary files /dev/null and b/matlab/mat/sim_iff_vib_table_m.mat differ diff --git a/matlab/mat/sim_vib_table_m.mat b/matlab/mat/sim_vib_table_m.mat new file mode 100644 index 0000000..4a1be6d Binary files /dev/null and b/matlab/mat/sim_vib_table_m.mat differ diff --git a/matlab/src/generateSpiralAngleTrajectory.m b/matlab/src/generateSpiralAngleTrajectory.m new file mode 100644 index 0000000..ac2d33c --- /dev/null +++ b/matlab/src/generateSpiralAngleTrajectory.m @@ -0,0 +1,35 @@ +function [ref] = generateSpiralAngleTrajectory(args) +% generateSpiralAngleTrajectory - +% +% Syntax: [ref] = generateSpiralAngleTrajectory(args) +% +% Inputs: +% - args +% +% Outputs: +% - ref - Reference Signal + +arguments + args.R_tot (1,1) double {mustBeNumeric, mustBePositive} = 10e-6 % [rad] + args.n_turn (1,1) double {mustBeInteger, mustBePositive} = 5 % [-] + args.Ts (1,1) double {mustBeNumeric, mustBePositive} = 1e-3 % [s] + args.t_turn (1,1) double {mustBeNumeric, mustBePositive} = 1 % [s] + args.t_end (1,1) double {mustBeNumeric, mustBePositive} = 1 % [s] +end + +time_s = 0:args.Ts:args.n_turn*args.t_turn; +time_e = 0:args.Ts:args.t_end; + +Rx = sin(2*pi*time_s/args.t_turn).*(args.R_tot*time_s/(args.n_turn*args.t_turn)); +Ry = cos(2*pi*time_s/args.t_turn).*(args.R_tot*time_s/(args.n_turn*args.t_turn)); + +Rx = [Rx, 0*time_e]; +Ry = [Ry, Ry(end) - Ry(end)*time_e/args.t_end]; + +t = 0:args.Ts:args.Ts*(length(Rx) - 1); + +ref = zeros(length(Rx), 7); + +ref(:, 1) = t; +ref(:, 5) = Rx; +ref(:, 6) = Ry;