# Natural Neighbor – A Superb Interpolation Method16

Posted by Loren Shure,

I'm happy to welcome Damian Sheehy as this week's guest blogger. Damian works on the development of geometry-related features at MathWorks. He will provide answers to two frequently asked questions; one on scattered data interpolation that he will cover in this blog and the other on Delaunay triangulation that he will cover in the next. Over to you, Damian...... read more >>

# Process “Big Data” in MATLAB with mapreduce2

Posted by Loren Shure,

Today I’d like to introduce guest blogger Ken Atwell who works for the MATLAB Development team here at MathWorks. Today, Ken will be discussing with you the MapReduce programming technique now available in the R2014b release of MATLAB. MapReduce provides a way to process large amounts of file-based data on a single computer in MATLAB. For very large data sets, the same MATLAB code written using MapReduce can also be run on the "big data" platform, Hadoop®.... read more >>

# Recent Question about Speed with Subarray Calculations8

Posted by Loren Shure,

Recently someone asked me to explain the speed behavior doing a calculation using a loop and array indexing vs. getting the subarray first.... read more >>

# Delaying Evaluation of Function Inputs8

Posted by Loren Shure,

When you call a function in MATLAB, MATLAB first evaluates all the inputs, and then passes these (possibly) computed values as the inputs. Recently Ljubomir Josifovski asked if there was a way to delay evaluation of function inputs and only evaluate them... read more >>

# A Brief History of polyval4

Posted by Loren Shure,

When I first started working at MathWorks, there were already a few functions in MATLAB for working with polynomials. One of these, polyval, for polynomial evaluation, used one algorithm, based on Horner's rule, known for its efficiency, especially suitable for embedded... read more >>

# More Ways to Find Matching Data55

Posted by Loren Shure,

Today on the newsgroup, a user wanted help finding when values in a matrix matched some other values (see the post). There was already a solution posted when I was reading, but something about this problem kept nagging at me. So I've invested ... read more >>

# Possible Test Scores14

Posted by Loren Shure,

Walter Roberson, frequent contributor to the MATLAB newsgroup, posed the following question to me to use as the starter idea of a blog. ... read more >>

# Timing Extraction of Parts of an Array10

Posted by Loren Shure,

In Sarah's blog, Dan asked about speed of removing elements. There are a number of ways of deleting elements in MATLAB. So, what's the "best" way? ... read more >>

# Finding Patterns in Arrays19

Posted by Loren Shure,

Recently, my colleague Jeff asked me if I would look at some code he wrote to find a pattern of numbers in a larger array. Without looking at his code, I asked if he had tried using strfind, despite his data... read more >>

# Comparing repmat and bsxfun Performance37

Posted by Loren Shure,

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 expected to have the same dimensions, but some of the input dimensions, instead of... read more >>