Loren on the Art of MATLAB

December 22nd, 2008

I-COOL - International Coalition of Ocean Observing Laboratories

It's no secret that my background is in marine geophysics. Last week at the annual meeting of AGU (American Geophysical Union), I remembered seeing some very cool plots recently, some from MATLAB. I tracked them back to I-COOL where there are a bunch of projects, such as the Atlantic Crossing, many involving undergraduates for their first forays into research, and the excitement they encounter.

Are you working on a research project either as an undergrad or with one, using MATLAB? Please post your story and website here.


Get the MATLAB code

Published with MATLAB® 7.7

3 Responses to “I-COOL - International Coalition of Ocean Observing Laboratories”

  1. Dan Cromb replied on :

    I’m using MatLab to analyse the subject head movement during functional MRI scans. I did this for my MSc in Biomedical imagiing and I’m now using it to develop my project so that it’s suitable for publishing (hopefully!)

  2. Aslak Grinsted replied on :

    I am also from geophysics, and use matlab for figures. I’ve made this package which makes very nice figures:
    http://www.pol.ac.uk/home/research/waveletcoherence/

    Usually there are lots of people at AGU that have used it, but i also see stuff from completely different fields such as medicine.

  3. Loren replied on :

    Thanks for sharing! Best wishes to you both.

    –Loren

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.