
Mike Croucher
I write The MATLAB Blog at MathWorks and specialize in High Performance Computing, Research Software Engineering and Machine Learning. You can also follow me at BlueSky https://bsky.app/profile/walkingrandomly.bsky.social
Feeds
已发布
Learning MATLAB in 2025
I've been using MATLAB for almost 30 years, man and boy. In those 30 years, not only has MATLAB itself changed a lot but...
3 days 前

已解决
Pizza!
Given a circular pizza with radius z and thickness a, return the pizza's volume. [ z is first input argument.] Non-scored bonus...
6 days 前
已解决
Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2 3 3 3 4...
6 days 前
已解决
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
6 days 前
已发布
AI-generated Quick Answers in the MATLAB Documentation
Here at MathWorks, we are all very proud of the quality of our documentation. We put a huge amount of effort into it and it...
18 days 前

已发布
Add a “Swiftie” touch to your images with MATLAB
Today’s post is a bit different from my regular content over on the Startups, Accelerators, & Entrepreneurs Blog. I’m...
24 days 前

已发布
Deep Learning training in MATLAB has just gotten faster on Apple Silicon Macs.
MATLAB R2025a has some great news for Apple Silicon Mac users: Apple Accelerate is the default BLAS. Since Apple...
26 days 前

已回答
Matlab Support for float32/single and float16/half datatypes in GPU Sparse Matrix Multiplication
As of R2025a, single precision sparse matrices are now supported on CPU and GPU. More details available on this blog post New in...
Matlab Support for float32/single and float16/half datatypes in GPU Sparse Matrix Multiplication
As of R2025a, single precision sparse matrices are now supported on CPU and GPU. More details available on this blog post New in...
1 month 前 | 3
| 已接受
已回答
gpu support single sparse matrix?
Single Sparse is now supported, starting with R2025a on both the CPU and GPU. A detailed write up, including performance benchma...
gpu support single sparse matrix?
Single Sparse is now supported, starting with R2025a on both the CPU and GPU. A detailed write up, including performance benchma...
1 month 前 | 1
已回答
sparse matrix with data type as 'single'
This is now supported, starting from MATLAB R2025a. A detailed write up can be found at New in MATLAB: Single precision sparse m...
sparse matrix with data type as 'single'
This is now supported, starting from MATLAB R2025a. A detailed write up can be found at New in MATLAB: Single precision sparse m...
1 month 前 | 1
| 已接受
已发布
New in MATLAB: Single precision sparse matrices
Sparse matrices have been in MATLAB for a long time but, up until now, the only types of sparse matrices you could create...
1 month 前

已发布
The fastest way to solve small linear systems in MATLAB
While browsing MATLAB Answers today, I stumbled across a discussion about the fastest way to solve small linear systems in...
1 month 前

已回答
Make a function time out in a parfor loop
You say you want to do this in a parfor-loop but is the use of parfor really a hard constraint? I interpret your problem statem...
Make a function time out in a parfor loop
You say you want to do this in a parfor-loop but is the use of parfor really a hard constraint? I interpret your problem statem...
2 months 前 | 1
已发布
Pair programming with Claude to produce computational art in MATLAB
I recently stumbled across @yuruyurau, a computational artist on X.com, who posts code snippets in a language called...
2 months 前

已回答
Call MATLAB from Google Colab
Yes, you can but its a bit experimental at the moment. Using MATLAB on Google Colab » The MATLAB Blog - MATLAB & Simulink
Call MATLAB from Google Colab
Yes, you can but its a bit experimental at the moment. Using MATLAB on Google Colab » The MATLAB Blog - MATLAB & Simulink
3 months 前 | 0
已发布
Using MATLAB on Google Colab
Google recently announced that Colab Terminal is Now Free For All Users and a few MathWorkers immediately thought to...
3 months 前

已回答
When using "inv()" in a thread-based parallel environment, can multiple threads be applied to a single instance of "inv()"?
The inv function is multithreaded. You don't need to do anything to make use of multithreading here. Here are more details: Wh...
When using "inv()" in a thread-based parallel environment, can multiple threads be applied to a single instance of "inv()"?
The inv function is multithreaded. You don't need to do anything to make use of multithreading here. Here are more details: Wh...
3 months 前 | 1
| 已接受
已发布
Do these 3 things to increase the reach of your open source MATLAB toolbox
We all develop code for different reasons. However, once we decide to start sharing it with others, we tend to have one...
3 months 前

已发布
What’s with all the big changes in R2025a?
Bio: Hi, it's Michelle here. You might know me as the woman who falls on her sword when MATLAB isn't meeting your needs...
4 months 前

已回答
Can I get notification when a new version (e.g., 2025a) is released?
You could subscribe to The MATLAB Blog: MATLAB R2025a has been released – What’s new? » The MATLAB Blog - MATLAB & Simulink
Can I get notification when a new version (e.g., 2025a) is released?
You could subscribe to The MATLAB Blog: MATLAB R2025a has been released – What’s new? » The MATLAB Blog - MATLAB & Simulink
4 months 前 | 0
已发布
MATLAB R2025a has been released – What’s new?
As the first version following MathWorks' 40th anniversary in 2024, MATLAB R2025a is probably the biggest release I've ever...
4 months 前

已回答
fuzzy logic help videos
Here is something from MathWorks that might help https://www.youtube.com/watch?v=__0nZuG4sTw
fuzzy logic help videos
Here is something from MathWorks that might help https://www.youtube.com/watch?v=__0nZuG4sTw
4 months 前 | 0
| 已接受
已回答
Can the MATLAB Package Manager be used to distribute packages on GitHub or any cloud repository?
Currently (As of R2024b) only local folders are supported. Can you tell us more about your requirements though?
Can the MATLAB Package Manager be used to distribute packages on GitHub or any cloud repository?
Currently (As of R2024b) only local folders are supported. Can you tell us more about your requirements though?
4 months 前 | 0
已回答
Is it possible to use keyHash without the random seed per MATLAB session?
I'm afraid not, can you tell us more about your workflow? When you look across various other languages, no one seems to guarant...
Is it possible to use keyHash without the random seed per MATLAB session?
I'm afraid not, can you tell us more about your workflow? When you look across various other languages, no one seems to guarant...
5 months 前 | 0
已发布
Solving practical problems on quantum computers and quantum-inspired hardware with Quadratic Unconstrained Binary Optimization (QUBO)
In my first article on quantum computing I took a look at gate based quantum computing using the MATLAB Support Package for...
5 months 前

已回答
unable to import EfficientNet from onnx
While researching EfficientNet I discovered this old answer so thought I'd update with the current situation as of R2024b. Loo...
unable to import EfficientNet from onnx
While researching EfficientNet I discovered this old answer so thought I'd update with the current situation as of R2024b. Loo...
5 months 前 | 0
已回答
EfficientNet model support in MATLAB's Deep Learning Toolbox
Looking at the documentation for imagePretrainedNetwork I can see that EfficientNet B0 is directly supported which you can choos...
EfficientNet model support in MATLAB's Deep Learning Toolbox
Looking at the documentation for imagePretrainedNetwork I can see that EfficientNet B0 is directly supported which you can choos...
5 months 前 | 0
已发布
Parallel computing in MATLAB: Have you tried ThreadPools yet?
Give ThreadPool a tryIf you have some parallel MATLAB code and want to try something that may make it go faster then I...
6 months 前

已发布
We’ve been listening: MATLAB R2025a Prerelease update 5 now available
The first public version of the R2025a Prerelease went live in January and today we released update 5. This update to the...
6 months 前
