Loren on the Art of MATLAB

March 27th, 2009

Say “Aloha” to Another MATLAB Stash

I recently had the good fortune to spend some time on "The Garden Island," an island in the 50th state to join the USA.

Contents

I took the opportunity to stash another laser flashlight.

Where to Look

The starting point for the hunt is here. 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 view when you're at the right location.

Found it?

If you found the bounty, please let us know, by posting here, preferably including a link to some nice photos!


Get the MATLAB code

Published with MATLAB® 7.8

2 Responses to “Say “Aloha” to Another MATLAB Stash”

  1. Rob S. replied on :

    Loren,

    I think this one’s a little bit out of my range, but I think I’ve actually been there before. That photo reminds me of something to the effect of “the wettest place on Earth”. Looks like the weather was fabulous for you though. Nice placement!

    Rob

  2. A. replied on :

    Loren,

    Bummer!! I was at that exact location yesterday! Unfortunately, I saw this posting too late. I’m a local so I will now have to go back. By the way, the trail was desparate from all the recent rain. It was covered in a nice thick coat of grease-like mud that can only be found on the Garden Isle, the rainiest place on earth.

    Aloha,

    A.

Leave a Reply

Wrap code fragments inside <pre> tags, like this:

<pre class="code">
a = magic(3);
sum(a)
</pre>

If you have a "<" character in your code, either follow it with a space or replace it with "&lt;" (including the semicolon).


Loren Shure works on design of the MATLAB language at The MathWorks. She writes here about once a week on MATLAB programming and related topics.

  • Jun: I totally can not believe it, Loren. You are really helpful. Thank you so much, MATLAB master!
  • Loren: Wow folks- Always lots of interest when there’s a quickie to try out! I will only make 2 general...
  • Loren: Jun- ismember is your friend here: >> [aa,ind] = ismember(Array2,Arra y1) aa = 1 1 1 1 1 1 1 ind = 1 2 1 4 4 3...
  • Dan: I like the first way better than the second way. Combining the arrays into one and running any is nice, although...
  • James Myatt: How about I = (a == 0 | b == 0); a(I) = []; b(I) = [];
  • Tunc: Hello Loren, love your blog because of such inspiring and challenging comments to such ’small’...
  • Pekka Kumpulainen: Here is my tradeoff. I usually want to keep the original variables as they are most probably...
  • Iain: Followup: Of course, to allow NaNs (counting them as non-zero): mask = (a~=0) & (b~=0); The mask says “a...
  • Matt Fig: I would usually go with something like this: y = a&b; x = a(y); y = b(y); But I was surprised to find...
  • kk: c=all([a;b]) a(c) a(b)

These postings are the author's and don't necessarily represent the opinions of The MathWorks.