Statistics

All
  • 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
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 days 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...

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

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

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

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

6 days ago | 0

| accepted

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

6 days ago | 0

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

3 months ago | 2

| accepted

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

3 months ago | 3

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

3 months ago | 0

| accepted

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

7 months ago | 1

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

8 months ago | 0

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

8 months ago | 0

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

8 months ago | 0

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

8 months ago | 0

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

9 months ago | 0

| accepted

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

9 months ago | 0

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

9 months ago | 0

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

10 months ago | 0

| accepted

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

10 months ago | 0

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

10 months ago | 1

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

11 months ago | 0

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

11 months ago | 2

| accepted

Answered
python call MATLAB function Use Named Arguments
Try this yw = eng.wdenoise(signal, matlab.double(4), "Wavelet","sym2" )

11 months ago | 1

| accepted

Answered
How can I use source control programmatically?
Which version of MATLAB are you using? This functionality got added in R2023b. For example, you mentioned you wanted to check t...

1 year ago | 0

Answered
Plotting first-order differential equation with initial condition
In R2023b, a completely new interface for working with ODEs was released. The old ways are all still in MATLAB, of course, but ...

1 year ago | 2

Answered
Fortran compiler for M2 (Silicon) Apple processor
The supported Fortran Compiler for Apple Silicon in R2023b is the NAG Fortran Compiler. gfortran is not supported I'm afraid. T...

1 year ago | 0

Answered
Speeding up matrix exponentials
Don't let the fact that I'm MathWorks staff fool you here -- I am playing outside of my comfort zone and this suggestion may be ...

1 year ago | 5

| accepted

Answered
How to get the combinations of elements of two arrays?
As of MATLAB R2023a, the new combinations function can do this for you. Details at The new combinations function in MATLAB – fo...

1 year ago | 2

Answered
Mathworks: it's time for a dark theme.
Dark Theme in MATLAB is here! It's in beta, but its here! Details: Try Dark Mode on Desktop MATLAB with the ‘New Desktop for M...

1 year ago | 3

Load more