Practical Advice for People on the Leading Edge

Posts 1 - 10 of 11

Results for: MATLAB Programming Language

The new solution framework for Ordinary Differential Equations (ODEs) in MATLAB R2023b

Along with linear algebra, one of the iconic features of MATLAB in my mind is how it handles ordinary differential equations (ODEs). ODEs have been part of MATLAB almost since the very beginning.One... read more >>

Partial sorting in MATLAB 5

I was recently working with a researcher who had to sort arrays of double precision numbers thousands of times. In his application, however, he didn't need the full sorted list. He only wanted the... 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 >>

The new combinations function in MATLAB – for cartesian products and parameter sweeps 2

I've always been a release notes nerd as I think that you can learn a lot from the raft of enhancements that come with every new release of software like MATLAB. Even before I worked here, when a new... read more >>

Which MATLAB Optimization functions can solve my problem? 1

The solvers function from Optimization toolbox is one of my favourite enhancements of R2022b because it helps improve my knowledge of which algorithms can solve my problems. Solving Rosenbrock with... read more >>

MATLAB’s High Performance Computing (HPC) and ‘Big Data’ datatypes 5

Table of ContentsgpuArrays - GPU programming made easy dlarray - Specialised objects for Deep Learning training Tall arrays - For when you've got more rows than memory Distributed arrays - Spread... read more >>

sinpi, cospi, implicit expansion and The 2022 MATLAB Mini-Hack 4

The 2022 MATLAB Mini-Hack is currently underway where MATLAB users submit 280 characters of code in order to produce a cool image. It's similar to last year's competition but this year you can also... read more >>

An introduction to dictionaries (associative arrays) in MATLAB 38

Dictionaries are one of the many new features of MATLAB R2022b which was released yesterday. Today I'll take a look at some of the details of this new datatype in MATLAB.A dictionary is a collection... read more >>

[6 3 7 8 5 1 2 4 9 10] – or “A Story of Surprise About Randomness” 1

Back in late March, Tom Rhys Marshall discovered something about MATLAB’s handling of random numbers that he found both surprising and concerning! The randperm function generates a random permutation... read more >>

How to make a GPU version of this MATLAB program by changing two lines 1

In his article, A short game of Life, Steve Eddins showed us the following few lines of code that impemented Conway's game of life. Steve's version used a 750 x 750 gameboard whereas mine is using... read more >>

Posts 1 - 10 of 11