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 511 - 520 of 539

Inverse Mapping from Values to Indices 5

I am aware of frequent customer requests for replacing multiple values in an array. And the result should be compact code and execute quickly, right?! It came up again on... 続きを読む >>

Publishing 57

I thought I'd showcase the publish tool in MATLAB this time around. It's how both Steve Eddins and I produce our blog articles most of the time. I find it particularly handy when I use... 続きを読む >>

Structures and Comma-Separated Lists 51

I have seen an increasing number of questions on structures and extracting information from them in a vectorized way. Though I've already covered portions of this topic in... 続きを読む >>

Programming for Multiple Datatypes 9

How do you write M-files in MATLAB that you would like to have work correctly whether the inputs are double precision or single? By correctly, I mean that the program gives an... 続きを読む >>

Fibonacci and filter 16

Over the years, people have posted many versions of code for calculating Fibonacci numbers. I thought I'd collect a few of the ideas here and start a discussion on the merits... 続きを読む >>

Memory Management for Functions and Variables 68

People have different ideas about what costs a lot, in terms of memory, in MATLAB. And sometimes people don't know the details. Today I am going to talk about when MATLAB... 続きを読む >>

Command and Function Syntaxes in MATLAB 17

There is a fairly constant stream of questions in many MATLAB venues, including the MATLAB newsgroup that boil down to not understanding the difference between command and function... 続きを読む >>

Two-Dimensional Integration over a General Domain 31

There have been several requests on the MATLAB newsgroup to calculate the area of a function on a non-rectangular domain. MATLAB's function dblquad uses the technique that I am going to... 続きを読む >>

High Performance File I/O 6

Today I'd like to tell you how you might improve the performance of reading and writing files using MATLAB's low-level file i/o functions. The key here is to disable the automated buffer... 続きを読む >>

MATLAB Programming Practices 10

I'm feeling pensive today as I participate in development activities at MathWorks for Release 2006b. We are following a 6-month release schedule and the naming convention for the twice... 続きを読む >>

Posts 511 - 520 of 539

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