many updates

This commit is contained in:
2020-04-27 11:35:57 +02:00
parent dbd4320349
commit 4838b6e026
56 changed files with 2156 additions and 2248 deletions

View File

@@ -101,7 +101,7 @@ Les fichiers xxx_raw sont sans traitement dans le domaine temporel (environ 10 i
| 9 | Hexa | X |
* Data Analysis
** Loading of the data
** Matlab Init :noexport:ignore:
#+begin_src matlab :tangle no :exports none :results silent :noweb yes :var current_dir=(file-name-directory buffer-file-name)
<<matlab-dir>>
#+end_src
@@ -110,10 +110,7 @@ Les fichiers xxx_raw sont sans traitement dans le domaine temporel (environ 10 i
<<matlab-init>>
#+end_src
#+BEGIN_SRC matlab :results none :exports none :var currentdir=(file-name-directory buffer-file-name)
cd(currentdir);
#+END_SRC
** Loading of the data
#+begin_src matlab :exports code :results none
load('./data/freq_frf.mat');
@@ -141,3 +138,30 @@ Les fichiers xxx_raw sont sans traitement dans le domaine temporel (environ 10 i
load('./data/phs_ty_y.mat');
load('./data/phs_ty_z.mat');
#+end_src
** test
#+begin_src matlab
figure;
hold on;
plot(freq_frf, abs(ReIm7(:, 5))./(2*pi*freq_frf), 'DisplayName', 'Marble')
plot(freq_frf, abs(ReIm8(:, 6))./(2*pi*freq_frf), 'DisplayName', 'Ty')
% plot(freq_frf, abs(ReIm5(:, 3))./(2*pi*freq_frf), 'DisplayName', 'Tilt')
plot(freq_frf, abs(ReIm9(:, 8))./(2*pi*freq_frf), 'DisplayName', 'Hexapod')
hold off;
xlim([1, 100]);
set(gca, 'xscale', 'log'); set(gca, 'yscale', 'log');
legend('location', 'northwest');
#+end_src
#+begin_src matlab
figure;
hold on;
plot(freq_frf, abs(ReIm5(:, 1))./(2*pi*freq_frf), 'DisplayName', 'Marble')
plot(freq_frf, abs(ReIm5(:, 2))./(2*pi*freq_frf), 'DisplayName', 'Ty')
plot(freq_frf, abs(ReIm5(:, 3))./(2*pi*freq_frf), 'DisplayName', 'Tilt')
plot(freq_frf, abs(ReIm5(:, 4))./(2*pi*freq_frf), 'DisplayName', 'Hexapod')
hold off;
xlim([1, 100]);
set(gca, 'xscale', 'log'); set(gca, 'yscale', 'log');
legend('location', 'northwest');
#+end_src