
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
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...
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...
1 month 前 | 1
| 已接受
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
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
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 & ...
3 months 前 | 0
| 已接受
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
| 已接受
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
fuzzy logic help videos
Here is something from MathWorks that might help https://www.youtube.com/watch?v=__0nZuG4sTw
5 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?
5 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...
5 months 前 | 0
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...
5 months 前 | 0
How to make str2double recognize comma delimited numbers?
Try using str2num instead str2num('2,3',Evaluation = "restricted") or possibly this s = '2,3'; str2double(split(s, ','))
6 months 前 | 0
Antenna Toolbox simulations come out wrong
Hi @Joshua. I've reported this to development who think this may be a bug and are currently investigating. Thank you for the re...
6 months 前 | 0
Plots saved as JPEG look awful. How to improve?
JPEG is a lossy file format which means that it can have a degradation in quality from the original. If Powerpoint is to be the...
7 months 前 | 0
Intel vs AMD for a new build in 2025
I am in the market for a new personal machine myself. I don't have any answers as to what is best but I can tell you that MATLAB...
7 months 前 | 0
| 已接受
Optimizing number of threads and workers in virtual machines.
In general, this depends hugely on exactly what your code is doing. If there was one perfect setting that always worked, it woul...
7 months 前 | 0
| 已接受
Looking for linear system Ax=0 precision improvements
I'm not an expert in this type of thing so take the following with caution but perhaps try vpa to give more precision? Somethin...
7 months 前 | 0
How to run a MATLAB file without opening the MATLAB GUI?
You need to wrap your script in a run command. I also suggest using the newer, -batch switch "C:\Program Files\MATLAB\R2024b\bi...
7 months 前 | 2
| 已接受
Code generation between r2024a and r2024b
Sorry to hear that you are having problems. It is highly unlikely that anyone in this forum is going to be able to help you with...
7 months 前 | 0
| 已接受
How to make ode45 store/return only results of every n-th time step to reduce memory use?
I would suggest trying the new ode interface The new solution framework for Ordinary Differential Equations (ODEs) in MATLAB R20...
7 months 前 | 0
TODO/FIXME Report in R2024b
This function was removed in R2024b. It has been unsupported for a long time. If you open R2024a, for example, and do help dof...
7 months 前 | 0
| 已接受
I am looking the instructions page for Online installation.
This forum is largely run by volunteers who are not equipped to resolve installation issues. Since you have paid for the produc...
7 months 前 | 1
| 已接受
Method to speed up simulation on working station.
In times gone by it was possible to speed up your simulation simply by running on a bigger or newer machine but those days have ...
7 months 前 | 0
Blade.stl missing from PDE toolbox
If you run the following command in MATLAB openExample('pde/ThermalStressAnalysisOfJetEngineTurbineBladeExample') you'll get B...
7 months 前 | 0
| 已接受
Algorithm used to implement the function qtdecomp?
There is a description of the algorithm on the documentation page qtdecomp. It says "The qtdecomp function divides a square ima...
7 months 前 | 0
| 已接受
Faster Empirical Cumulative Distribution Function (ECDF)
In your original code you didn't define n so I might have got the definition wrong here but since its just a scalar it won't aff...
7 months 前 | 0
| 已接受
Inquiry Regarding Minor Variations in MATLAB GPU Computation
It is difficult to comment without seeing the code but the most general thing I can think of saying goes as follows: A calculat...
8 months 前 | 0