{"author_name":"DOSEI","blog_url":"https://dosei.hatenadiary.jp/","version":"1.0","provider_url":"https://hatena.blog","url":"https://dosei.hatenadiary.jp/entry/20101119/p1","width":"100%","height":"190","categories":["\u30e1\u30e2","Matlab","Octave"],"title":" \u5468\u671f\u5883\u754c\u6761\u4ef6\u306e cspline (interpolation of periodic function by cspline)","blog_title":"DOSEI\u306e\u65e5\u8a18","description":"\u6a19\u6e96\u306e spline \u306f\u3001\u5468\u671f\u5883\u754c\u6761\u4ef6\u3067\u306f\u4f7f\u3048\u306a\u3044\u3002 Spline Toolbox \u306e csape \u3067\u53ef\u80fd\u3002\u4f55\u306e\u7565\u304b\u306f\u4e0d\u660e\u3002 Octave-forge \u306b\u3082\u4e92\u63db\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u3042\u308b\u3002\u4f8b: n=10; % \u6a19\u672c\u70b9\u6570 m=1000; % \u30ea\u30b5\u30f3\u30d7\u30ea\u30f3\u30b0\u70b9\u6570 % \u30b5\u30f3\u30d7\u30ea\u30f3\u30b0\u70b9 x=(0:(n-1))./(n-1); xx=(0:(m-1))./(m-1); % \u9069\u5f53\u306a\u6a19\u672c\u30c7\u30fc\u30bf y=rand(n,1); y(1)=y(n); % \u4e21\u7aef\u4e00\u81f4 % \u5468\u671f\u30b9\u30d7\u30e9\u30a4\u30f3\u88dc\u9593 s=csape(x,y,\"periodic\"); yy=fnval(s,xx); plot(x,y,\"-o\",xx,yy);","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdosei.hatenadiary.jp%2Fentry%2F20101119%2Fp1\" title=\" \u5468\u671f\u5883\u754c\u6761\u4ef6\u306e cspline (interpolation of periodic function by cspline) - DOSEI\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","author_url":"https://blog.hatena.ne.jp/DOSEI/","published":"2010-11-19 00:00:01","provider_name":"Hatena Blog"}