{"id":6961,"date":"2020-02-14T13:58:17","date_gmt":"2020-02-14T18:58:17","guid":{"rendered":"https:\/\/blogs.mathworks.com\/community\/?p=6961"},"modified":"2020-02-14T13:58:17","modified_gmt":"2020-02-14T18:58:17","slug":"head-over-heels-in-love","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/community\/2020\/02\/14\/head-over-heels-in-love\/","title":{"rendered":"Head Over Heels in Love"},"content":{"rendered":"<p>This is what happens when two logarithmic spirals love each other very much.<\/p>\n<pre>% Vary k from 1.5 to 3.5\r\nk = 1.5;\r\nt = linspace(0,k*pi,200);\r\n\r\nr = exp(t);\r\nx = r.*cos(t);\r\ny = r.*sin(t);\r\n\r\nplot(x,y,-x,y,'LineWidth',2,'Color',[1 0 0])\r\naxis equal\r\nset(gcf,'Color','white')\r\ntitle('r = e^\\theta with reflection')<\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"369\" height=\"271\" class=\"alignnone size-full wp-image-6969\" src=\"https:\/\/blogs.mathworks.com\/community\/files\/val-1.gif\" alt=\"\" \/><br \/>\nHappy Valentines Day!<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"overview-image\"><img decoding=\"async\"  class=\"img-responsive\" src=\"https:\/\/blogs.mathworks.com\/community\/files\/val-1.gif\" onError=\"this.style.display ='none';\" \/><\/div>\n<p>This is what happens when two logarithmic spirals love each other very much.<br \/>\n% Vary k from 1.5 to 3.5<br \/>\nk = 1.5;<br \/>\nt = linspace(0,k*pi,200);<\/p>\n<p>r = exp(t);<br \/>\nx = r.*cos(t);<br \/>\ny =&#8230; <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/community\/2020\/02\/14\/head-over-heels-in-love\/\">read more >><\/a><\/p>\n","protected":false},"author":69,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts\/6961"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/users\/69"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/comments?post=6961"}],"version-history":[{"count":3,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts\/6961\/revisions"}],"predecessor-version":[{"id":6971,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts\/6961\/revisions\/6971"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/media?parent=6961"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/categories?post=6961"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/tags?post=6961"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}