bio_img_loren

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 31 - 40 of 61

搜索结果: Less Used Functionality

Comparing repmat and bsxfun Performance 37

I've been asked repeatedly about the performance comparison between two MATLAB functions, bsxfun and repmat. These two functions can each help with calculations in which two arrays are... 更多内容 >>

MATLAB Publishing for Teaching

Since MATLAB has had the capability to publish M-files, we have seen publishing being adopted at many educational institutions. And there is a variety of ways for you
to find out just what’s… 更多内容 >>

A Way to Automate “Regular” Renaming 17

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

Under-appreciated accumarray 59

The MATLAB function accumarray seems to be under-appreciated. accumarray allows you to aggregate items in an array in the way that you specify. Contents ... 更多内容 >>

Why Does MATLAB Have the Function hypot? 7

Sometimes I am asked questions like "why did you introduce function xyz into MATLAB? And sometimes I have a compelling answer, even for something that looks simple on the surface. ... 更多内容 >>

Deal or No Deal 21

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

Plotting with Style 65

One of MATLAB's features is being able to customize plots. But some of the customization may not need to be done by hand and can instead be controlled programmatically. Let... 更多内容 >>

Making Pretty Graphs 101

Today I’d like to introduce a guest blogger, Jiro Doke (email: Jiro.Doke@mathworks.com), who is an applications engineer here at The MathWorks. He used MATLAB in his life prior to The MathWorks, and... 更多内容 >>

uniquely MATLAB 23

What makes MATLAB unique? You have your choice regarding which element unique returns when there are repeated values in an array. What I wonder about is why it matters. ... 更多内容 >>

How to Safely Try Unknown Code 4

In my recent post on MExceptions, a user asked if a syntax error inside a function being called in a try/catch would get caught in older versions of MATLAB. I've done a tiny bit of... 更多内容 >>

Posts 31 - 40 of 61