{"author_name":"ryamada","blog_title":"ryamada\u306e\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fb\u6570\u5b66\u30e1\u30e2","version":"1.0","title":"\u30d5\u30fc\u30ea\u30a8\u5909\u63db\u301c\u6570\u5024\u89e3\u6790\u8af8\u6cd5\u306b\u6163\u308c\u308b\u301cscipy","provider_url":"https://hatena.blog","url":"https://ryamada.hatenadiary.jp/entry/20150101/1419899282","description":"\u9ad8\u901f\u30d5\u30fc\u30ea\u30a8\u5909\u63db from scipy.fftpack import fft, ifft # \u5468\u671f\u6027\u30c7\u30fc\u30bf\u3092\u4f5c\u308b n = 1000 # \u70b9\u306e\u6570 t = np.linspace(-1,1,n) * 5*np.pi # \u6642\u523b\u70b9 k = 50 # \u91cd\u306d\u5408\u308f\u305b\u308b\u5468\u671f\u95a2\u6570\u306e\u6570 # a cos(bt+c)\u306e\u4fc2\u6570a,b,c a = np.random.randn(k) b = np.random.randn(len(a)) c = np.random.randn(len(a)) # \u30bc\u30ed\u30d9\u30af\u30c8\u30eb x = np.zeros_like(t) for i in arange(len(a)) : x = x + a\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fryamada.hatenadiary.jp%2Fentry%2F20150101%2F1419899282\" title=\"\u30d5\u30fc\u30ea\u30a8\u5909\u63db\u301c\u6570\u5024\u89e3\u6790\u8af8\u6cd5\u306b\u6163\u308c\u308b\u301cscipy - ryamada\u306e\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fb\u6570\u5b66\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/r/ryamada/20141230/20141230055959.png","published":"2015-01-01 09:28:02","blog_url":"https://ryamada.hatenadiary.jp/","author_url":"https://blog.hatena.ne.jp/ryamada/","width":"100%","type":"rich","categories":["python","\u30d5\u30fc\u30ea\u30a8\u5909\u63db"],"provider_name":"Hatena Blog"}