Loren on the Art of MATLAB

Turn ideas into MATLAB

Results for: Readability

Deal or No Deal 21

Posted by Loren Shure,

This post continues in the theme from my last post, where people routinely come to me on a topic. Today I want to distinguish between indexed assignment, where you can take advantage of scalar expansion, and assignment to several output arrays, often arising from a comma-separated list from cell or struct arrays.... read more >>

Nested Functions and Variable Scope 35

Posted by Loren Shure,

I get a parade of questions about which variables are available to nested functions and which variables, used in nested functions, are part of the nesting function workspace. So today I thought I'd address this topic. For more information, you can read this documentation.   Contents Where is data? Truisms about Variable Scope with Nested Functions Your... read more >>