![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/20789457_1614616188344.jpg)
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
Statistica
0 Problemi
17 Soluzioni
68 Post
HighlightsRANK
304
of 297.010
REPUTAZIONE
281
CONTRIBUTI
1 Domanda
75 Risposte
ACCETTAZIONE DELLE RISPOSTE
100.0%
VOTI RICEVUTI
79
CONTRIBUTI
68 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
1 Punto principale
NUMERO MEDIO DI LIKE
23
Feeds
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 giorni fa | 0
| accettato
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...
18 giorni fa | 0
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 ...
circa un mese fa | 2
| accettato
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...
circa un mese fa | 2
| accettato
Domanda
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?
circa un mese fa | 2 risposte | 3
2
risposteHow 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...
2 mesi fa | 0
| accettato
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...
2 mesi fa | 1
| accettato
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...
2 mesi fa | 0
| accettato
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...
2 mesi fa | 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...
2 mesi fa | 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...
2 mesi fa | 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 ...
2 mesi fa | 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 mesi fa | 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 mesi fa | 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 mesi fa | 0
| accettato
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 mesi fa | 1
| accettato
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 = [...
5 mesi fa | 2
| accettato
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? »...
5 mesi fa | 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...
5 mesi fa | 0
| accettato
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...
9 mesi fa | 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...
10 mesi fa | 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...
10 mesi fa | 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: ...
10 mesi fa | 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 mesi fa | 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 mesi fa | 0
| accettato
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 mesi fa | 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...
12 mesi fa | 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...
12 mesi fa | 0
| accettato
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...
12 mesi fa | 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 ...
circa un anno fa | 1