# Recent Question about Speed with Subarray Calculations8

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 >>

# Understanding Array Preallocation6

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.... read more >>

# Best Practices for Programming MATLAB56

I thought I would share my top goto list of things I try to do when I write MATLAB code. And checking with other MathWorks folks whose code I admire, I found... read more >>

# Simpler Control of Random Number Generation in MATLAB12

Once again we're going to hear from guest blogger Peter Perkins, who is a statistical software developer here at The MathWorks.
MATLAB has had random numbers since the beginning. But not... read more >>

# Book Review: The Elements of MATLAB Style7

I've recently been offered the opportunity to review a new book, The Elements of MATLAB Style by contributor to the FEX, Richard K. Johnson. It's a great opportunity for me to see... read more >>

# Debugging Approaches11

There are lots of posts on the MATLAB newsgroup asking questions like why do I get this error "xxx"? One of the most common answers shows users how to track down the information ... read more >>

# Doug’s “Top 10 MATLAB code practices that make me cry”4

Doug's "Top 10 MATLAB code practices that make me cry" This week, Doug's blog focuses on what he considers to be some poor programming practices he's seen in MATLAB code. I agree... read more >>

# Ensuring Positive Values – Part 14

Do you sometimes need to be sure an array has only bounded, positive values? At least one customer asked about this recently and noted that it could be quite involved. ... read more >>

# Handling Discrete Data

Discrete data arise in many applications and the data may be numeric, or non-numeric, often referred to as categorical. Not all data are strictly numeric, and other... read more >>

# Using parfor Loops: Getting Up and Running81

Today I’d like to introduce a guest blogger, Sarah Wait Zaranek, who is an application engineer here at The MathWorks. Sarah previously has written about speeding up code from a... read more >>