Loren on the Art of MATLAB

Turn ideas into MATLAB

Note

Loren on the Art of MATLAB has been archived and will not be updated.

Posts 21 - 30 of 61

Results for: Less Used Functionality

Evens and Odds 3

There are so many functions in MATLAB that sometimes users think that if they can't find the function they are thinking of, it's because they don't know the name. Sometimes... read more >>

A Brief History of polyval 4

When I first started working at MathWorks, there were already a few functions in MATLAB for working with polynomials. One of these, polyval, for polynomial evaluation, used... read more >>

Hold Everything! 31

Have you ever tried to overlap more than one plot, only to find that you had to fiddle with a few times before it looked right? Perhaps this is because you aren't... read more >>

Switching Things Up 22

If you have ever used a switch statement in MATLAB and also used it in C, you might have noticed that the two constructs have different semantics. Contents ... read more >>

Convenient nargout Behavior 8

Here's a question that was recently posed at MathWorks. I'm trying to invoke a function handle. It either returns 0 or 1 output arguments. If it returns an output ... read more >>

What’s in Your startup.m? 45

Several of us at The MathWorks were recently discussing how we each use startup.m. Contents ... read more >>

A Pedagogical Tool for Fourier Transforms 4

I recently attended the DSP Workshop sponsored by the IEEE Signal Processing Society. It focues on both signal processing and signal processing education. I spoke to a lot of the... read more >>

More Ways to Find Matching Data 55

Today on the newsgroup, a user wanted help finding when values in a matrix matched some other values (see the post). There was already a solution posted when I was reading, but something... read more >>

Nested Timing 2

Did you know that you can use tic and toc to measure times of operations that may have other timed operations nested inside? Contents ... read more >>

Finding Patterns in Arrays 19

Recently, my colleague Jeff asked me if I would look at some code he wrote to find a pattern of numbers in a larger array. Without looking at his code, I... read more >>

Posts 21 - 30 of 61