# Loren on the Art of MATLABTurn ideas into MATLAB

Note

Loren on the Art of MATLAB has been archived and will not be updated.

Posts 1 - 10 of 53

# Displaying Numbers in MATLAB7

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 Strings24

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 MATLAB12

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 Ways9

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 Structures30

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 Handles36

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 Operator19

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 Logical14

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... 更多内容 >>

# A Logical Story7

Let me set the stage for today's blog. Logical variables have been part of MATLAB from the early days. They are particularly useful in constructs involved flow-of-control,... 更多内容 >>

# Cute Tricks in MATLAB Adapted from Other Languages31

I recently saw Steve Baker's web site while searching for something. It contains some cute (Steve's word) programming tricks and I thought I would show how to do a couple of... 更多内容 >>

Posts 1 - 10 of 53