
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
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...
3일 전 | 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일 전

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...
6일 전 | 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...
6일 전 | 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...
24일 전

게시됨
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...
대략 1개월 전

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, ','))
대략 1개월 전 | 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...
대략 1개월 전 | 0
게시됨
Advance Optimization Software: Fully Funded PhD with HiGHS and MathWorks at University of Edinburgh
Last year I discussed the collaboration between the open source optimization library, HiGHS and MathWorks. This included...
대략 1개월 전

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...
대략 1개월 전 | 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...
대략 2개월 전 | 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...
대략 2개월 전 | 0
| 수락됨
게시됨
MathWorks Call for Research Proposals Spring 2025
Do you conduct research on 'Engineered Systems'?If you are in the business of building or conducting research on 'Engineered...
대략 2개월 전

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...
대략 2개월 전 | 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...
대략 2개월 전 | 1
| 수락됨
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...
대략 2개월 전 | 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...
대략 2개월 전 | 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...
대략 2개월 전 | 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...
대략 2개월 전 | 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 ...
대략 2개월 전 | 0
Blade.stl missing from PDE toolbox
If you run the following command in MATLAB openExample('pde/ThermalStressAnalysisOfJetEngineTurbineBladeExample') you'll get B...
2개월 전 | 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...
2개월 전 | 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...
2개월 전 | 0
| 수락됨
게시됨
On love and research software: Sharing code with your Valentine
I've been sharing mathematical equations with some sort of connection to Valentine's day for a long time now. Indeed, the...
2개월 전

게시됨
How to run local DeepSeek models and use them with MATLAB
Almost immediately after the DeepSeek-R1 AI models were made available to the world, people started asking how you can use...
3개월 전

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...
3개월 전 | 0
게시됨
Visualizing yesterday’s earthquake in Boston using MATLAB and a Raspberry Shake
During an online meeting with my colleagues in Boston yesterday, some of them were rather startled when their offices...
3개월 전

Difference between RMSE of Curve fitter and calculated RMSE in MS Excel
First, I wanted to confirm your manual calculation of RMSE using the formula you gave but using MATLAB instead of Excel. Here's ...
3개월 전 | 2
| 수락됨
How do I programmatically switch to Dark Mode (Dark Theme) in R2025a?
This is supported from R2025a onwards. This is what you need to do >> s = settings; >> s.matlab.appearance.MATLABTheme.Persona...
3개월 전 | 2
| 수락됨
질문
How do I programmatically switch to Dark Mode (Dark Theme) in R2025a?
I am running R2025a pre-release. What are the commands to switch to dark mode?
3개월 전 | 답변 수: 2 | 3