Mike Croucher - MATLAB Central

Statistics

All
MATLAB AnswersBlogsCodyHighlightsFrom 02/21 to 02/25Use left and right arrows to move selectionFrom 02/21Use left and right arrows to move left selectionTo 02/25Use left and right arrows to move right selectionUse TAB to select grip buttons or left and right arrows to change selection100%

RANK
289
of 297.278

REPUTATION
303

CONTRIBUTIONS
1 Question
84 Answers

ANSWER ACCEPTANCE
100.0%

VOTES RECEIVED
82

  • Thankful Level 1
  • Community Group Solver
  • Knowledgeable Level 4
  • MATLAB Flipbook Mini Hack Participant
  • Explorer
  • First Review
  • MATLAB Mini Hack 2022 Participant
  • 3 Month Streak
  • MATLAB Mini Hack Participant
  • Solver
  • Revival Level 1
  • First Answer

View badges

Feeds

Answered
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...

ongeveer 6 uur ago | 0

Answered
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...

ongeveer 8 uur ago | 1

| accepted

Answered
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 dagen ago | 0

| accepted

Answered
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...

6 dagen ago | 0

Answered
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 dagen ago | 0

Answered
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 dagen ago | 1

| accepted

Answered
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 dagen ago | 0

Answered
Blade.stl missing from PDE toolbox
If you run the following command in MATLAB openExample('pde/ThermalStressAnalysisOfJetEngineTurbineBladeExample') you'll get B...

8 dagen ago | 0

Answered
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...

9 dagen ago | 0

| accepted

Answered
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...

13 dagen ago | 0

| accepted

Published


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...

14 dagen ago

Thumbnail

Published


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...

23 dagen ago

Thumbnail

Answered
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...

29 dagen ago | 0

Published


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...

ongeveer een maand ago

Thumbnail

Answered
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 ...

ongeveer een maand ago | 2

| accepted

Answered
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...

ongeveer 2 maanden ago | 2

| accepted

Question


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?

ongeveer 2 maanden ago | 2 answers | 3

2

answers

Published


Debugging support in the MATLAB extension for Visual Studio Code
Since its April 2023 launch, the MATLAB extension for Visual Studio Code has been extremely popular with over 329,000...

2 maanden ago

Thumbnail

Answered
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...

2 maanden ago | 0

| accepted

Answered
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 maanden ago | 1

| accepted

Answered
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 maanden ago | 0

| accepted

Answered
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...

3 maanden ago | 2

Solved


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

3 maanden ago

Published


Solving Higher-Order ODEs in MATLAB
In a comment to last year's introduction to the new ODE solution framework in MATLAB, Ron asked if I could provide an...

3 maanden ago

Thumbnail

Answered
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...

3 maanden ago | 0

Answered
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...

3 maanden ago | 0

Answered
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 ...

3 maanden ago | 0

Answered
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...

3 maanden ago | 1

Answered
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...

3 maanden ago | 1

Answered
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...

3 maanden ago | 0

| accepted

Load more

Go to top of page