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 11 - 20 of 28

結果: 2012

Thoughts about Anonymous Functions 18

One of the reasons I like using anonymous functions is because they allow me to express whatever function I want to use as a function of the relevant arguments in different contexts.... 続きを読む >>

Using Symbolic Equations And Symbolic Functions In MATLAB

I am pleased to introduce guest blogger Kai Gehrs. Kai is a developer for the Symbolic Math Toolbox.... 続きを読む >>

Who, what, why, but not this 8

Dave Foti, who manages development of object oriented programming features in the MATLAB language, is back with a discussion of object parameters in methods.... 続きを読む >>

Web Treats

I have had occasion to visit MathWorks website recently and discovered a couple of interesting pages.... 続きを読む >>

What’s “if” “all” about? 12

I recently posted about a GOTCHA with the expression a < x < b in MATLAB and Matt's comments made me look to see if I had ever devoted a post to the behavior of all (or its companion any). So today I will explain how all works and why you need to take care when you use arrays for testing conditions in if and while statements. This is especially true if you do not use them with functions such as any or all since they can reduce expressions to scalar true and false values.... 続きを読む >>

Benford’s Law – What are the odds that the first digit is a ‘1’? 13

I'd like to introduce this week's guest blogger Sam Mirsky. Sam is an Application Engineer here at MathWorks who focuses on real-time testing applications using Simulink. ... 続きを読む >>

Why is Answer to 3 < A < 7 Unexpected? 9

There have been countless (not really!) times on the MATLAB newsgroup where a question of the sort written in the title has been asked (and answered). Let's go through the code to... 続きを読む >>

Mathematics and Humanities: Understanding Sort Algorithms 2

Steve recently mentioned a video showing how the quiksort algorithm works, including an explanation from Bobby regarding the need for the final seconds to be sure that NaN values are... 続きを読む >>

Running Scripts on a Cluster Using the Batch Command in Parallel Computing Toolbox

I'd like to introduce this week's guest blogger Edric Ellis. Edric works for the Parallel Computing development team here at The MathWorks. In this post he will talk about using the ... 続きを読む >>

Have You Visited MATLAB Central Recently? 6

I don't know if you visit MATLAB Central often, but there's a good reason to these days. Contents ... 続きを読む >>

Posts 11 - 20 of 28