From e709e7bf81f3684353a4817d2af3876ae4c97b55 Mon Sep 17 00:00:00 2001 From: Thomas Dehaeze Date: Wed, 27 Mar 2024 17:54:30 +0100 Subject: [PATCH] Validation of the Matlab scripts --- matlab/test_struts_2_dynamical_meas.m | 2 +- test-bench-struts.org | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/matlab/test_struts_2_dynamical_meas.m b/matlab/test_struts_2_dynamical_meas.m index c75ae04..ffe90d7 100644 --- a/matlab/test_struts_2_dynamical_meas.m +++ b/matlab/test_struts_2_dynamical_meas.m @@ -74,7 +74,7 @@ enc_frf = [frf_sweep(i_lf); frf_noise_hf(i_hf)]; % Combine the FRF figure; tiledlayout(3, 1, 'TileSpacing', 'Compact', 'Padding', 'None'); -ax1 = nexttile([]); +ax1 = nexttile; hold on; plot(f, abs(int_with_enc_frf), '-', 'DisplayName', 'With encoder'); plot(f, abs(int_frf), '-', 'DisplayName', 'Without encoder'); diff --git a/test-bench-struts.org b/test-bench-struts.org index e177227..8f7c187 100644 --- a/test-bench-struts.org +++ b/test-bench-struts.org @@ -582,7 +582,7 @@ This means that the IFF control strategy should be as effective whether or not t figure; tiledlayout(3, 1, 'TileSpacing', 'Compact', 'Padding', 'None'); -ax1 = nexttile([]); +ax1 = nexttile; hold on; plot(f, abs(int_with_enc_frf), '-', 'DisplayName', 'With encoder'); plot(f, abs(int_frf), '-', 'DisplayName', 'Without encoder');