The MATLAB Blog

Practical Advice for People on the Leading Edge

Posts 11 - 16 of 16

Results for: MATLAB Programming Language

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 7

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 40

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

Finding if all elements of a matrix are finite, fast! 3

Today, I'm going to focus on three new functions that were added to the MATLAB programming language in R2022a: allfinite, anynan and anymissing. These functions are more concise, and usually faster,... read more >>

Posts 11 - 16 of 16