Published


Scalar Expansion and More
pre.codeinput { background: #F9F7F3; padding: 10px; border: 1px solid rgb(200,200,200); } @media print { ...

20 years ago

Thumbnail

Published


Nested Function Interaction with Global Variables
Recently on two different occasions, people have asked me to help debug their nested function< code. I was struck by...

20 years ago

Thumbnail

Published


Use nested functions to memoize costly functions
Some languages provide ways to store results of costly calculations so if the calculation had been performed before, it need...

20 years ago

Thumbnail

Published


Existence in MATLAB
Users have needed access to information about the existence of variables, files, etc. in MATLAB for a long time. The...

20 years ago

Thumbnail

Published


What’s the Big deal?
So, what is the big deal? To start with, this week marks my 19th anniversary at MathWorks. Never would I have guessed...

20 years ago

Thumbnail

Published


Inverting Logic in an Algorithm
A while ago, a colleague needed to use the sinc function to interpolate some channel data posted by the IEEE 802.15.3a...

20 years ago

Thumbnail

Published


Mental Model for feval
What's your mental model for when to use the MATLAB function feval? Until Release 14 (MATLAB 7), feval was the way to...

20 years ago

Thumbnail

Published


More on eval
I recently wrote an article on Evading eval. A couple of users asked me how to avoid using eval in the case post under Code...

20 years ago

Thumbnail

Published


Evading eval
If you are a regular reader of the MATLAB Usenet newsgroup, comp.soft-sys.matlab, found on the MathWorks User Community...

20 years ago

Thumbnail

Published


Sort of Find a Solution
In MATLAB 7, Release 14, we enhanced two useful and often used functions, sort and find in part because we noticed some...

20 years ago

Thumbnail

Published


Use Dynamic Field References
Use dynamic field references, the notation .(), where possible, instead of setfield, getfield, and eval. History In MATLAB...

20 years ago

Thumbnail

Published


Introduction
One of my favorite things about MATLAB is that I can write a mathematical algorithm using the same notation appearing in a...

20 years ago

Thumbnail