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
統計
All
Feeds
公開済み
Meet the Spring 2025 MathWorks Research Proposal Winners
Back in March, we launched the MathWorks Call for Research Proposals which aims to support researchers who are tackling...
4日 前
公開済み
Stop using -r to run MATLAB in batch jobs
You have a script, let's call it myscript.m, and you want to run it non-interactively, or as a 'batch-job'. If you are still...
10日 前
回答済み
MacBook heats up with R25a and 25b
I am sorry you are experience this. I have an M2 Mac and am running various versions of MATLAB including R2025a and R2025b witho...
MacBook heats up with R25a and 25b
I am sorry you are experience this. I have an M2 Mac and am running various versions of MATLAB including R2025a and R2025b witho...
10日 前 | 0
公開済み
Giving LLMs new capabilities: Ollama tool calling in MATLAB
At their heart, LLMs are just text generation machines that predict the next word based on patterns learned from huge...
18日 前
公開済み
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...
約1ヶ月 前
解決済み
Pizza!
Given a circular pizza with radius z and thickness a, return the pizza's volume. [ z is first input argument.] Non-scored bonus...
約2ヶ月 前
解決済み
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...
約2ヶ月 前
解決済み
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...
約2ヶ月 前
公開済み
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...
約2ヶ月 前
公開済み
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...
2ヶ月 前
公開済み
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...
2ヶ月 前
回答済み
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...
2ヶ月 前 | 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...
2ヶ月 前 | 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...
2ヶ月 前 | 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...
2ヶ月 前
公開済み
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...
3ヶ月 前
回答済み
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...
3ヶ月 前 | 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...
3ヶ月 前
回答済み
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
4ヶ月 前 | 0
回答済み
Can I use google colab for running matlab codes
You can get MATLAB on Colab but it's very experimental at the moment. Using MATLAB on Google Colab » The MATLAB Blog - MATLAB & ...
Can I use google colab for running matlab codes
You can get MATLAB on Colab but it's very experimental at the moment. Using MATLAB on Google Colab » The MATLAB Blog - MATLAB & ...
4ヶ月 前 | 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...
4ヶ月 前
回答済み
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...
4ヶ月 前 | 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...
4ヶ月 前
公開済み
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...
5ヶ月 前
回答済み
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
5ヶ月 前 | 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...
5ヶ月 前
回答済み
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
6ヶ月 前 | 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?
6ヶ月 前 | 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...
6ヶ月 前 | 0











