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 531 - 539 of 539

Existence in MATLAB 12

Users have needed access to information about the existence of variables, files, etc. in MATLAB for a long time. The function exist allows us to programmatically check for these entities. exist... 更多内容 >>

What’s the Big deal? 15

So, what is the big deal? To start with, this week marks my 19th anniversary at MathWorks. Never would I have guessed back then what I am up to now, including talking about MATLAB with so many... 更多内容 >>

Inverting Logic in an Algorithm 7

A while ago, a colleague needed to use the sinc function to interpolate some channel data posted by the IEEE 802.15.3a working group. The files they supplied were large and the interpolation took a... 更多内容 >>

Mental Model for feval 10

What's your mental model for when to use the MATLAB function feval? Until Release 14 (MATLAB 7), feval was the way to evaluate a function handle. By that I mean you might write code something... 更多内容 >>

More on eval 2

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 Clarity / Readability. The answer is you can't, unless you rethink the... 更多内容 >>

Evading eval 5

If you are a regular reader of the MATLAB Usenet newsgroup, comp.soft-sys.matlab, found on the MathWorks User Community page, you are probably familiar with repeated advice to not use the MATLAB... 更多内容 >>

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 common coding patterns in our MATLAB code and customers'. With the older... 更多内容 >>

Use Dynamic Field References 28

Use dynamic field references, the notation .(), where possible, instead of setfield, getfield, and eval.
History
In MATLAB 6.5 (Release 13), we introduced dynamic field references into MATLAB. What... 更多内容 >>

Introduction 8

One of my favorite things about MATLAB is that I can write a mathematical algorithm using the same notation appearing in a technical book or paper. For algorithms that are naturally matrix-based,... 更多内容 >>

Posts 531 - 539 of 539

这些文章由作者发布,不一定代表 MathWorks 的意见。