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
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 ...
8日 前 | 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...
8日 前 | 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?
8日 前 | 2 件の回答 | 3
2
回答How do get all of my python libraries in matlab?
Your python environment looks strange to me. I've never seen pythonw.exe used in MATLAB Python environment. It's usually python...
約1ヶ月 前 | 0
| 採用済み
Is there a student version of the Aerospace Toolbox?
There is no free student version of MATLAB but there is a version that is heavily discounted. Go to MATLAB for Students - MATLAB...
約1ヶ月 前 | 1
| 採用済み
I'm trying to make a simple calculator for circuits. And I can not figure out how to take the answer and limit to only like two numbers after the decimal place.
This page on the documentation will help explain the details: Formatting Text TotalResistance = 186.66; fprintf("The total res...
約1ヶ月 前 | 0
| 採用済み
GPU programming for Mac M1
I have an M2 Mac and I have just bought an M4 Mac for my wife. I love the hardware on these machines, its superb! I wrote the bl...
約1ヶ月 前 | 2
Adding Statistics and Machine Learning Toolbox to existing MATLAB
In 2024, the way I'd do this is with the mpm download command on a machine with an internet connection and then transfer the res...
約1ヶ月 前 | 0
Working with big tall arrays in an HPC environment
Hi Sebastian I can't comment on the Tall Array situation right now but I'm zooming in on this comment: I am assigning 37 cores...
約1ヶ月 前 | 0
Why does the validation loss first decrease and then increase after about 7 epochs while the training loss keeps decreasing?
I think you are right, this is an example of overfitting. There is no guarenteed way to fix it but there are several things you ...
約1ヶ月 前 | 0
Vectorized code slower than loops
Another option, if you have the hardware, is to use a GPU. Here, you want to do as much vectorisation as you can. Using my des...
約2ヶ月 前 | 1
Vectorized code slower than loops
I made a couple more modifications and came up with a double for-loop that is fastest. One thing that I'd like to point out her...
約2ヶ月 前 | 1
How can I use the LAPACK implementations included in Apple Accelerate Framework with MATLAB R2024b?
You can switch the BLAS to Apple Accelerate as described in Life in the fast lane: Making MATLAB even faster on Apple Silicon wi...
約2ヶ月 前 | 0
| 採用済み
Massive slowdown for Apple Silicon in computing SVD
Hi I have reproduced your times on my M2 MacbookPro using R2024b using both the default BLAS and also the Apple Silicon BLAS as...
約2ヶ月 前 | 1
| 採用済み
Modifying arrow length based on intersection with polygon
The polyxpoly function is what you need polygon_x = [-20 20 20 -20 -20]; polygon_y = [-50 -50 50 50 -50]; origin = [...
4ヶ月 前 | 2
| 採用済み
What's the actual difference between versions 'a' and 'b' of MATLAB, other than being 6 months apart?
This question comes up so often that I made a blog post about it What’s the difference between the A and B releases in MATLAB? »...
4ヶ月 前 | 3
Matlab Parallel Server vs Matlab + Parallel Computing Toolbox
Hi Anglea Parallel Computing Toolbox provides the parallel language (parfor, parfeval, spmd etc) and will allow you to run prog...
4ヶ月 前 | 0
| 採用済み
pandas in matlab using iloc for indexing
Indexing into Pandas data frames in this way is not supported. As of R2024a, you can convert the dataframe to a MATLAB table and...
8ヶ月 前 | 1
Matlab ODE function solving using Python Scipy library.
@Simon Mwakitabu If you are still interested in this, you can now call the SUNDIALS solver direct from MATLAB. Details at Faster...
9ヶ月 前 | 0
Using Sundials cvode solver
As of MATLAB R2024a, SUNDIALS is shipped with and supported directly in MATLAB. See my blog post for details Faster Ordinary D...
9ヶ月 前 | 0
SUNDIALS installation in MATLAB
As of R2024a, There is now SUNDIALS support in MATLAB via the ode interface. This incluldes "idas" Details on The MATLAB Blog: ...
9ヶ月 前 | 0
Will MATLAB Live editor ever support spellcheck?
I'm happy to tell you all that spellcheck is now supported as of R2024a. I discuss it in the MATLAB Blog here Two of my ‘White W...
10ヶ月 前 | 0
Support packages in Matlab online (Hyperspectral Imaging Library)
The link that you pointed to, Install Support Packages for MATLAB in MATLAB Online Server - MATLAB & Simulink - MathWorks United...
11ヶ月 前 | 0
| 採用済み
Can i call matlab from fortran?
There is a section in the documentation that covers this. You can get started at Call MATLAB from Fortran - MATLAB & Simulink -...
11ヶ月 前 | 0
Graycomatrix and nlfilter not Supported for Code Generation
To work out if code generation is supported or not for any given function, go to its documentation page and scroll to the bottom...
11ヶ月 前 | 0
Do I need to move my files and update my path to use git in Matlab?
Hi Doug The way to think about it is that source control begins in a root directory and everything else related to that project...
11ヶ月 前 | 0
| 採用済み
Error using pyversion, Too many input arguments.
Hi Mukesh The pyversion command is no longer recommended. See the doc at (Not recommended) Change default version of Python int...
11ヶ月 前 | 0
dlarray abstract syntax tree
Hi Michael Good question! I didn't know either so I asked around internally and the answer is 'Currently not'. I'd like to add ...
12ヶ月 前 | 1
[Matlab in python] Does matlab engine supports a .m file whose input is a function handle?
Unfortunately, the MATLAB Engine for python does not support passing Python functions to MATLAB. Running the following in Python...
12ヶ月 前 | 0
In the example, 25 images are generated. How do I generate one image
The imtile command should be removed when you only have one image: Go down to the Generate New Images section and change numObs...
約1年 前 | 2
| 採用済み