{"id":1030,"date":"2017-09-02T00:10:23","date_gmt":"2017-09-01T15:10:23","guid":{"rendered":"http:\/\/msiplab.eng.niigata-u.ac.jp\/?p=1030"},"modified":"2017-09-02T00:11:49","modified_gmt":"2017-09-01T15:11:49","slug":"%e8%bf%91%e6%8e%a5%e5%86%99%e5%83%8f%e3%81%ae%e3%83%97%e3%83%ad%e3%83%83%e3%83%88","status":"publish","type":"post","link":"https:\/\/www.eng.niigata-u.ac.jp\/~msiplab\/index.php\/archives\/1030","title":{"rendered":"\u8fd1\u63a5\u5199\u50cf\u306e\u30d7\u30ed\u30c3\u30c8"},"content":{"rendered":"<p>\u8fd1\u63a5\u5199\u50cf\u306eMATLAB\u30d7\u30ed\u30c3\u30c8\u95a2\u6570\u3092\u4f5c\u6210\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u5f79\u7acb\u3061\u307e\u3059\u304b\uff1f<\/p>\n<pre class=\"brush: matlabkey; title: ; notranslate\" title=\"\">\r\nfunction proxplot(f,varargin)\r\n%PROXPLOT Plot prox of a scalar function\r\n% Example\r\n% &gt;&gt; proxplot(@(x) abs(x))\r\n% See FPLOT\r\n\r\n% Copyright (c) 2017 Shogo MURAMATSU,\r\n% All rights reserved\r\nwarning off\r\nprox = @(x) fminsearch(@(y) (f(y)+0.5*(y-x)^2),0);\r\nfplot(@(x) prox(x),varargin)\r\nwarning on\r\n<\/pre>\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>\u8fd1\u63a5\u5199\u50cf\u306eMATLAB\u30d7\u30ed\u30c3\u30c8\u95a2\u6570\u3092\u4f5c\u6210\u3057\u307e\u3057\u305f\u3002 \u5f79\u7acb\u3061\u307e\u3059\u304b\uff1f function proxplot(f,varargin) %PROXPLOT Plot prox of a scalar function % Exa &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.eng.niigata-u.ac.jp\/~msiplab\/index.php\/archives\/1030\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;\u8fd1\u63a5\u5199\u50cf\u306e\u30d7\u30ed\u30c3\u30c8&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":1034,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[15,37,36],"class_list":["post-1030","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-topics","tag-matlab","tag-optimization","tag-prox"],"_links":{"self":[{"href":"https:\/\/www.eng.niigata-u.ac.jp\/~msiplab\/index.php\/wp-json\/wp\/v2\/posts\/1030","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.eng.niigata-u.ac.jp\/~msiplab\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.eng.niigata-u.ac.jp\/~msiplab\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.eng.niigata-u.ac.jp\/~msiplab\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.eng.niigata-u.ac.jp\/~msiplab\/index.php\/wp-json\/wp\/v2\/comments?post=1030"}],"version-history":[{"count":15,"href":"https:\/\/www.eng.niigata-u.ac.jp\/~msiplab\/index.php\/wp-json\/wp\/v2\/posts\/1030\/revisions"}],"predecessor-version":[{"id":1046,"href":"https:\/\/www.eng.niigata-u.ac.jp\/~msiplab\/index.php\/wp-json\/wp\/v2\/posts\/1030\/revisions\/1046"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.eng.niigata-u.ac.jp\/~msiplab\/index.php\/wp-json\/wp\/v2\/media\/1034"}],"wp:attachment":[{"href":"https:\/\/www.eng.niigata-u.ac.jp\/~msiplab\/index.php\/wp-json\/wp\/v2\/media?parent=1030"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.eng.niigata-u.ac.jp\/~msiplab\/index.php\/wp-json\/wp\/v2\/categories?post=1030"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.eng.niigata-u.ac.jp\/~msiplab\/index.php\/wp-json\/wp\/v2\/tags?post=1030"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}