{"id":177,"date":"2009-03-27T19:35:05","date_gmt":"2009-03-27T19:35:05","guid":{"rendered":"https:\/\/blogs.mathworks.com\/loren\/2009\/03\/27\/177\/"},"modified":"2009-03-27T19:56:32","modified_gmt":"2009-03-27T19:56:32","slug":"177","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/loren\/2009\/03\/27\/177\/","title":{"rendered":"Say &#8220;Aloha&#8221; to Another MATLAB Stash"},"content":{"rendered":"<div xmlns:mwsh=\"https:\/\/www.mathworks.com\/namespace\/mcode\/v1\/syntaxhighlight.dtd\" class=\"content\">\r\n   <introduction>\r\n      <p>I recently had the good fortune to spend some time on \"The Garden Island,\" an island in the 50th state to join the USA.<\/p>\r\n   <\/introduction>\r\n   <h3>Contents<\/h3>\r\n   <div>\r\n      <ul>\r\n         <li><a href=\"#2\">Where to Look<\/a><\/li>\r\n         <li><a href=\"#3\">Found it?<\/a><\/li>\r\n      <\/ul>\r\n   <\/div>\r\n   <p>I took the opportunity to stash another laser flashlight.<\/p>\r\n   <p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/images\/loren\/169\/swag_01.png\"> <\/p>\r\n   <h3>Where to Look<a name=\"2\"><\/a><\/h3>\r\n   <p>The starting point for the hunt is <a href=\"http:\/\/geohash.org\/87ymzrzck\">here<\/a>. Basically, go to the end of the road and park.  There's no reason to stonewall - go to this great place.  You can see this\r\n      view when you're at the right location.\r\n   <\/p>\r\n   <p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/images\/loren\/177\/coastview2.jpg\"> <\/p>\r\n   <h3>Found it?<a name=\"3\"><\/a><\/h3>\r\n   <p>If you found the bounty, please let us know, by posting <a href=\"https:\/\/blogs.mathworks.com\/loren\/?p=177#respond\">here<\/a>, preferably including a link to some nice photos!\r\n   <\/p><script language=\"JavaScript\">\r\n<!--\r\n\r\n    function grabCode_df54a1037cb64434b1c0e1c5f38f67f4() {\r\n        \/\/ Remember the title so we can use it in the new page\r\n        title = document.title;\r\n\r\n        \/\/ Break up these strings so that their presence\r\n        \/\/ in the Javascript doesn't mess up the search for\r\n        \/\/ the MATLAB code.\r\n        t1='df54a1037cb64434b1c0e1c5f38f67f4 ' + '##### ' + 'SOURCE BEGIN' + ' #####';\r\n        t2='##### ' + 'SOURCE END' + ' #####' + ' df54a1037cb64434b1c0e1c5f38f67f4';\r\n    \r\n        b=document.getElementsByTagName('body')[0];\r\n        i1=b.innerHTML.indexOf(t1)+t1.length;\r\n        i2=b.innerHTML.indexOf(t2);\r\n \r\n        code_string = b.innerHTML.substring(i1, i2);\r\n        code_string = code_string.replace(\/REPLACE_WITH_DASH_DASH\/g,'--');\r\n\r\n        \/\/ Use \/x3C\/g instead of the less-than character to avoid errors \r\n        \/\/ in the XML parser.\r\n        \/\/ Use '\\x26#60;' instead of '<' so that the XML parser\r\n        \/\/ doesn't go ahead and substitute the less-than character. \r\n        code_string = code_string.replace(\/\\x3C\/g, '\\x26#60;');\r\n\r\n        author = 'Loren Shure';\r\n        copyright = 'Copyright 2009 The MathWorks, Inc.';\r\n\r\n        w = window.open();\r\n        d = w.document;\r\n        d.write('<pre>\\n');\r\n        d.write(code_string);\r\n\r\n        \/\/ Add author and copyright lines at the bottom if specified.\r\n        if ((author.length > 0) || (copyright.length > 0)) {\r\n            d.writeln('');\r\n            d.writeln('%%');\r\n            if (author.length > 0) {\r\n                d.writeln('% _' + author + '_');\r\n            }\r\n            if (copyright.length > 0) {\r\n                d.writeln('% _' + copyright + '_');\r\n            }\r\n        }\r\n\r\n        d.write('<\/pre>\\n');\r\n      \r\n      d.title = title + ' (MATLAB code)';\r\n      d.close();\r\n      }   \r\n      \r\n-->\r\n<\/script><p style=\"text-align: right; font-size: xx-small; font-weight:lighter;   font-style: italic; color: gray\"><br><a href=\"javascript:grabCode_df54a1037cb64434b1c0e1c5f38f67f4()\"><span style=\"font-size: x-small;        font-style: italic;\">Get \r\n            the MATLAB code \r\n            <noscript>(requires JavaScript)<\/noscript><\/span><\/a><br><br>\r\n      Published with MATLAB&reg; 7.8<br><\/p>\r\n<\/div>\r\n<!--\r\ndf54a1037cb64434b1c0e1c5f38f67f4 ##### SOURCE BEGIN #####\r\n%% Say \"Aloha\" to Another MATLAB Stash\r\n% I recently had the good fortune to spend some time on \"The Garden\r\n% Island,\" an island in the 50th state to join the USA.  \r\n%%\r\n% I took the opportunity to stash another laser flashlight.\r\n%\r\n% <<https:\/\/blogs.mathworks.com\/images\/loren\/169\/swag_01.png>>\r\n%% Where to Look\r\n% The starting point for the hunt is <http:\/\/geohash.org\/87ymzrzck here>.\r\n% Basically, go to the end of the road and park.  There's no reason to \r\n% stonewall - go to this great place.  You can see this view when you're at\r\n% the right location.\r\n%\r\n% <<coastview2.jpg>> \r\n%% Found it?\r\n% If you found the bounty, please let us know, byt posting\r\n% <https:\/\/blogs.mathworks.com\/loren\/?p=177#respond here>, preferably\r\n% including a link to some nice photos!\r\n\r\n\r\n##### SOURCE END ##### df54a1037cb64434b1c0e1c5f38f67f4\r\n-->","protected":false},"excerpt":{"rendered":"<p>\r\n   \r\n      I recently had the good fortune to spend some time on \"The Garden Island,\" an island in the 50th state to join the USA.\r\n   \r\n   Contents\r\n   \r\n      \r\n ... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/loren\/2009\/03\/27\/177\/\">read more >><\/a><\/p>","protected":false},"author":39,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[18],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/posts\/177"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/users\/39"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/comments?post=177"}],"version-history":[{"count":0,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/posts\/177\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/media?parent=177"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/categories?post=177"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/tags?post=177"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}