<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>MikuHatsune</author_name>
  <author_url>https://blog.hatena.ne.jp/MikuHatsune/</author_url>
  <blog_title>驚異のアニヲタ社会復帰の予備</blog_title>
  <blog_url>https://mikuhatsune.hatenadiary.com/</blog_url>
  <categories>
    <anon>R</anon>
    <anon>数学</anon>
  </categories>
  <description>矩形波がフーリエ変換の要素数を増やすとどれくらい近似度があがるかという動画を見かけたのでやってみる。 矩形波は となる。 が増えると近似度があがり、そのための小さな円が数珠つなぎに増える。 矩形波の平坦な部分はこの数珠がぐるぐる巻にされ、yが入れ替わるところで数珠がダイナミックに伸びるのがわかる。 GIFにするとこんな感じ。 f &lt;- function(n, x) 4/pi*sin((2*n-1)*x) / (2*n-1) x &lt;- seq(0, 2*pi, length=1000) p &lt;- 4/pi y &lt;- f(1, x) xl &lt;- c(-6.5, 2*pi) yl &lt;- c(-1, …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmikuhatsune.hatenadiary.com%2Fentry%2F20170420%2F1492693732&quot; title=&quot;フーリエ変換でみる矩形波 - 驚異のアニヲタ社会復帰の予備&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.d.st-hatena.com/diary/MikuHatsune/2017-04-20.gif</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-04-20 22:08:52</published>
  <title>フーリエ変換でみる矩形波</title>
  <type>rich</type>
  <url>https://mikuhatsune.hatenadiary.com/entry/20170420/1492693732</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
