Today's guest blogger is Mary Fenelon, who is the product marketing manager for Optimization and Math here at MathWorks. In today's post she describes how using the new paged matrix functions can... 더 읽어보기 >>
Note
Loren on the Art of MATLAB has been archived and will not be updated.
Today's guest blogger is Mary Fenelon, who is the product marketing manager for Optimization and Math here at MathWorks. In today's post she describes how using the new paged matrix functions can... 더 읽어보기 >>
Recently, Steve wrote a blog discussing code clarity/obscurity in the context of one-line code solutions. Simply stated, the problem he solved is this. Find the largest value in an... 더 읽어보기 >>
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 ... 더 읽어보기 >>
The other day, one of my MathWorks buddies, Peter, asked me if I knew any tricks for vectorizing the notion of the colon (:) operator. For me, this sort of inquiry sometimes has an... 더 읽어보기 >>
Recently someone at MathWorks asked me how he could automate the renaming of a bunch of M-files containing underscores ('_') in the names with derived names that removed the underscores and used... 더 읽어보기 >>
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... 더 읽어보기 >>
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... 더 읽어보기 >>
A reader suggested I discuss the difference in use of MATLAB's for and while constructs. Contents ... 더 읽어보기 >>
In my first year at MathWorks (1987!), a professor I know got in touch with me. He was trying to solve a least squares problem with nonnegativity constraints. Having been... 더 읽어보기 >>
Quick answer: when the result is a NaN. Contents NaNs in Arithmetic ... 더 읽어보기 >>