{"id":72,"date":"2006-05-23T09:48:01","date_gmt":"2006-05-23T09:48:01","guid":{"rendered":"http:\/\/ahay.org\/blog\/?p=72"},"modified":"2015-09-10T22:37:01","modified_gmt":"2015-09-10T22:37:01","slug":"reproducible-matlab-and-mathematica-figures-and-spectral-factorization","status":"publish","type":"post","link":"https:\/\/ahay.org\/blog\/2006\/05\/23\/reproducible-matlab-and-mathematica-figures-and-spectral-factorization\/","title":{"rendered":"Reproducible Matlab and Mathematica figures and spectral factorization"},"content":{"rendered":"<p>Another paper has been added to the collection of reproducible papers:<\/p>\n<ul>\n<li><a href=\"\/RSF\/book\/sep\/specfac\/paper_html\/\">Spectral factorization revisited<\/a><\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"\/RSF\/book\/sep\/specfac\/Matlab\/Fig\/muf.png\" alt=\"\" title=\"\" \/> <img decoding=\"async\" src=\"\/RSF\/book\/sep\/specfac\/Matlab\/Fig\/sqroot.png\" alt=\"\" title=\"\" \/> <\/p>\n<p>The paper demonstrates the use of Matlab figures in a reproducible document. To include figures generated with Matlab: <\/p>\n<ol>\n<li>Create a directory called <strong>Matlab<\/strong>.<\/li>\n<li>Put figure-generating matlab scripts in this directory.<\/li>\n<li>Each script should have a <strong>.ml<\/strong> suffix<\/li>\n<li>Each script should end with a command like <strong>print -depsc junk<em>ml.eps;<\/strong> (the name <strong>junk<\/em>ml.eps<\/strong> is important.)<\/li>\n<li>You can put other needed Matlab functions in the same directory. See <a href=\"https:\/\/github.com\/ahay\/src\/tree\/master\/book\/sep\/specfac\/Matlab\">book\/sep\/specfac\/Matlab\/<\/a> directory for an example.<\/li>\n<\/ol>\n<p>The rules for Mathematica figures are completely analogous. <\/p>\n<ol>\n<li>Create a directory called <strong>Math<\/strong>.<\/li>\n<li>Put figure-generating mathematica scripts in this directory.<\/li>\n<li>Each script should have a <strong>.ma<\/strong> suffix<\/li>\n<li>Each script should end with a command like <strong>Export[&#8220;junk<em>ma.eps&#8221;, %, &#8220;EPS&#8221;];<\/strong> (the name <strong>junk<\/em>ma.eps<\/strong> is important.)<\/li>\n<li>See <a href=\"https:\/\/github.com\/ahay\/src\/tree\/master\/book\/sep\/angle\/Math\">book\/sep\/angle\/Math\/<\/a> directory for examples.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Another paper has been added to the collection of reproducible papers: Spectral factorization revisited The paper demonstrates the use of Matlab figures in a reproducible document. To include figures generated with Matlab: Create a directory called Matlab. Put figure-generating matlab scripts in this directory. Each script should have a .ml suffix Each script should end [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":""},"categories":[5],"tags":[],"class_list":["post-72","post","type-post","status-publish","format-standard","hentry","category-documentation"],"_links":{"self":[{"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/posts\/72","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/comments?post=72"}],"version-history":[{"count":3,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/posts\/72\/revisions"}],"predecessor-version":[{"id":22634,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/posts\/72\/revisions\/22634"}],"wp:attachment":[{"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/media?parent=72"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/categories?post=72"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/tags?post=72"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}