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 481 - 490 of 539

Colormap Manipulations 14

We use color as a dimension to understand the world. For some datasets, judicious choice of colormaps provides a useful means for gleaning information. ... 続きを読む >>

Class Initialization for Variables 10

A while ago, I wrote an article sharing some ideas for Programming for Multiple Datatypes. Recently, a colleague asked me a related question for writing some M-code to be used in an... 続きを読む >>

Displaying Numbers in MATLAB 7

The way MATLAB displays numbers sometimes confuses users. Occasionally someone posts a concern to the MATLAB newsgroup that the calculation just performed was done to only 4 digits but... 続きを読む >>

Finding Strings 24

Over the years, MATLAB has become a friendlier environment for working with character information. MATLAB has a rich set of text handling functions, ranging from the simple,... 続きを読む >>

Brief History of Nonnegative Least Squares in MATLAB 12

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... 続きを読む >>

Let Me Count the Ways 9

In the course of many applications, we sometimes need to tally up counts for different purposes, e.g., investigating the distribution of some data or equalizing gray tones in... 続きを読む >>

Working with Arrays of Structures 30

Though I have covered this topic somewhat in the past, it seems like a good time to refresh the information. There are recent posts on the MATLAB newsgroup relating to this... 続きを読む >>

Some Ways to Create Function Handles 36

I recently was asked the best way to create function handles, given the names of functions. This came up because I recommended that we should generally remove instances of... 続きを読む >>

All about the Colon Operator 19

I have written several blog articles that cover some aspects of the : operator. Based on some recent posts to the MATLAB newsgroup, it seems worthwhile for me to compile the... 続きを読む >>

Bottom Line on Logical 14

I just posted a blog on logical operator behavior in MATLAB and I want to be clear about the bottom line. Use the newer MATLAB operators || and &&, in the context of expressions for if and... 続きを読む >>

Posts 481 - 490 of 539

これらの投稿は著者に属するものであり、必ずしも MathWorks の見解を示すものではありません。