File Exchange Pick of the Week

July 6th, 2006

Monotonically changing vectors

Frequent readers of this blog, will know that I am a big fan of simple things done well. I like isMonotonic because it does a simple operation well. If you look under the hood of this function, you will see error checking and comprehensive help that follows the MathWorks look and feel. Richie is also using function handles in there, which is a nice advanced maneuver to try from time to time.

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).


MathWorks

Brett & Jiro share their favorite user-contributed submissions from the File Exchange.

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