Update tfestimate command

This commit is contained in:
Thomas Dehaeze 2019-04-18 09:37:33 +02:00
parent 030dae7ab1
commit b3d626cd0c
3 changed files with 2 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 124 KiB

After

Width:  |  Height:  |  Size: 132 KiB

Binary file not shown.

View File

@ -162,7 +162,7 @@ The cut-off frequency is set at 1kHz.
[[file:figs/psd_velocity.png]] [[file:figs/psd_velocity.png]]
** Transfer function between the two geophones ** Transfer function between the two geophones
#+begin_src matlab :results none #+begin_src matlab :results none
[T12, f12] = tfestimate(x1, x2, hanning(1/dt), 0, [], 1/dt); [T12, f12] = tfestimate(x1, x2, hanning(ceil(length(x1)/100)), [], [], 1/dt);
#+end_src #+end_src
#+begin_src matlab :results none #+begin_src matlab :results none
@ -181,7 +181,7 @@ The cut-off frequency is set at 1kHz.
xlabel('Frequency [Hz]'); ylabel('Phase'); xlabel('Frequency [Hz]'); ylabel('Phase');
linkaxes([ax1,ax2],'x'); linkaxes([ax1,ax2],'x');
xlim([2, 500]); xlim([1, 500]);
#+end_src #+end_src
#+NAME: fig:tf_geophones #+NAME: fig:tf_geophones