73 lines
2.7 KiB
HTML
73 lines
2.7 KiB
HTML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
|
<head>
|
|
<!-- 2020-10-29 jeu. 10:06 -->
|
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
|
<title>Attocube - Test Bench</title>
|
|
<meta name="generator" content="Org mode" />
|
|
<meta name="author" content="Dehaeze Thomas" />
|
|
<link rel="stylesheet" type="text/css" href="./css/htmlize.css"/>
|
|
<link rel="stylesheet" type="text/css" href="./css/readtheorg.css"/>
|
|
<link rel="stylesheet" type="text/css" href="./css/zenburn.css"/>
|
|
<script type="text/javascript" src="./js/jquery.min.js"></script>
|
|
<script type="text/javascript" src="./js/bootstrap.min.js"></script>
|
|
<script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script>
|
|
<script type="text/javascript" src="./js/readtheorg.js"></script>
|
|
</head>
|
|
<body>
|
|
<div id="org-div-home-and-up">
|
|
<a accesskey="h" href="../index.html"> UP </a>
|
|
|
|
|
<a accesskey="H" href="../index.html"> HOME </a>
|
|
</div><div id="content">
|
|
<h1 class="title">Attocube - Test Bench</h1>
|
|
<div id="table-of-contents">
|
|
<h2>Table of Contents</h2>
|
|
<div id="text-table-of-contents">
|
|
<ul>
|
|
<li><a href="#orgb69bc8c">1. First Measurements</a>
|
|
<ul>
|
|
<li><a href="#org170c3a9">1.1. Load Data</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgb69bc8c" class="outline-2">
|
|
<h2 id="orgb69bc8c"><span class="section-number-2">1</span> First Measurements</h2>
|
|
<div class="outline-text-2" id="text-1">
|
|
</div>
|
|
<div id="outline-container-org170c3a9" class="outline-3">
|
|
<h3 id="org170c3a9"><span class="section-number-3">1.1</span> Load Data</h3>
|
|
<div class="outline-text-3" id="text-1-1">
|
|
<div class="org-src-container">
|
|
<pre class="src src-matlab">load(<span class="org-string">'./mat/long_test.mat'</span>, <span class="org-string">'x'</span>, <span class="org-string">'t'</span>)
|
|
Ts = 1; <span class="org-comment">% [s]</span>
|
|
|
|
win = hann(ceil(length(x)<span class="org-type">/</span>10));
|
|
[p_1, f_1] = pwelch(x, win, [], [], 1<span class="org-type">/</span>Ts);
|
|
</pre>
|
|
</div>
|
|
|
|
<div class="org-src-container">
|
|
<pre class="src src-matlab">load(<span class="org-string">'./mat/test.mat'</span>, <span class="org-string">'x'</span>, <span class="org-string">'t'</span>)
|
|
Ts = 1e<span class="org-type">-</span>4; <span class="org-comment">% [s]</span>
|
|
|
|
win = hann(ceil(length(x)<span class="org-type">/</span>50));
|
|
[p_2, f_2] = pwelch(x, win, [], [], 1<span class="org-type">/</span>Ts);
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="postamble" class="status">
|
|
<p class="author">Author: Dehaeze Thomas</p>
|
|
<p class="date">Created: 2020-10-29 jeu. 10:06</p>
|
|
</div>
|
|
</body>
|
|
</html>
|