The MATLAB Blog

Practical Advice for People on the Leading Edge

Results for: Best Practice

Paged Matrix Functions in MATLAB (2024 edition) 3

Back in 2021, Loren Shure posted an article that introduced the first page-wise matrix functions in MATLAB: A page-wise matrix multiply pagemtimes, along with page-wise transpose pagetranspose, and... read more >>

Should we ban tic/toc? 28

Yesterday morning, I overheard my kids talking about a tic/toc ban which surprised me because they are not MATLAB users and not particularly well connected at MathWorks. How would they know about... read more >>

Understanding Tolerances in Ordinary Differential Equation Solvers 3

This is a guest blog post by Michael Hosea, a numerical analyst at MathWorks. He works on MATLAB Coder and on MATLAB’s ODE and integral solvers.MATLAB's ODE solvers have tolerances that the user can... read more >>

Open science and reusable research with MATLAB Online and GitHub 10

You’ve written a research paper and you have some MATLAB code that supports it. How do you disseminate this to make it accessible to as many people as possible? Here’s the new workflow. Step 1: Put... read more >>

MathWorks releases Best Practices for MATLAB Toolbox development 3

Research computing can be a messy affair and, for me at least, it often looks like the following. First, there is the exploration phase where you often have no strong idea about what you are doing.... read more >>