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 221 - 230 of 538

Multiple Y Axes 15

We were musing here about how common it is to want more than two Y axes on a plot. Checking out the File Exchange, there seem to be several candidates, indicating that this is something at least some people find useful.... 続きを読む >>

Using the MATLAB Unit Testing Infrastructure for Grading Assignments 8

Steven Lord, Andy Campbell, and David Hruska are members of the Quality Engineering group at MathWorks who are guest blogging today to introduce a new feature in R2013a, the MATLAB unit testing infrastructure. There are several submissions on the MATLAB Central File Exchange related to unit testing of MATLAB code. Blogger Steve Eddins wrote one highly rated example back in 2009. In release R2013a, MathWorks included in MATLAB itself a MATLAB implementation of the industry-standard xUnit testing framework.

If you're not a software developer, you may be wondering if this feature will be of any use to you. In this post, we will describe one way someone who may not consider themselves a software developer may be able to take advantage of this framework using the example of a professor grading students' homework submissions. That's not to say that the developers in the audience should move on to the next post; you can use these tools to test your own code just like a professor can use them to test code written by his or her students.

There is a great deal of functionality in this feature that we will not show here. For more information we refer you to the MATLAB Unit Testing Framework documentation.

... 続きを読む >>

Major New Release at Chebfun – Two Dimensional Capabilities 2

Perhaps you've read about Chebfun before here or on Cleve''s blog. Chebfun allows you to do numerical computing with functions and not simply numbers. If not, you might want to investigate. If so, you may be very interested in new capabilities available. ... 続きを読む >>

Logical Indexing – Multiple Conditions 22

I've talked about logical indexing before in some of the linked posts, but recent work makes me want to show it off again. One of the nice things about logical indexing is that it is very easy and natural to combine the results of different conditions to select items based on multiple criteria.... 続きを読む >>

Introduction to Functional Programming with Anonymous Functions, Part 3 5

Tucker McClure is an Application Engineer with The MathWorks. He spends his time helping our customers accelerate their work with the right tools and problem-solving techniques. Today, he'll be discussing how "functional programming" can help create brief and powerful MATLAB code.... 続きを読む >>

Introduction to Functional Programming with Anonymous Functions, Part 2 14

Tucker McClure is an Application Engineer with The MathWorks. He spends his time helping our customers accelerate their work with the right tools and problem-solving techniques. Today, he'll be discussing how "functional programming" can help create brief and powerful MATLAB code.... 続きを読む >>

Introduction to Functional Programming with Anonymous Functions, Part 1 24

Tucker McClure is an Application Engineer with The MathWorks. He spends his time helping our customers accelerate their work with the right tools and problem-solving techniques. Today, he'll be discussing how "functional programming" can help create brief and powerful MATLAB code.... 続きを読む >>

End of Year Suggestion: Steve on Counting

I just read the latest post on Steve Eddins image processing blog. I recommend you read it too. It discusses how to count objects in an image without introducing bias. It would be easy to count all the blobs you see, including partial ones cut by the border. But that would be an overestimate. So how do we get a better estimate?... 続きを読む >>

Measuring GPU Performance 12

Today I welcome back guest blogger Ben Tordoff who previously wrote here on how to generate a fractal on a GPU. He is going to continue this GPU theme below, looking at how to measure the performance of a GPU.... 続きを読む >>

Understanding Array Preallocation 6

Today I would like to introduce guest blogger Jeremy Greenwald who works in the Development group here at MathWorks. Jeremy works on the Code Analyzer and will be discussing when preallocating MATLAB arrays is useful and when it should be avoided.... 続きを読む >>

Posts 221 - 230 of 538

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