Published


MATLAB kernel for Jupyter – Now with Windows support
There was a lot of excitement around January’s release of the MATLAB kernel for Jupyter notebooks with hundreds of thousands...

1 year ago

Thumbnail

Published


Native Apple Silicon Support in the MATLAB/Simulink R2023b pre-release
I’ve been following MathWorks’ Apple Silicon developments for some time now. Indeed, my first post on the subject...

1 year ago

Thumbnail

Published


MathWorks releases Best Practices for MATLAB Toolbox development
Research computing can be a messy affair and, for me at least, it often looks like the following. First, there is the...

1 year ago

Thumbnail

Published


Direct submission to HPC clusters from MATLAB
More Compute, More Problems When it comes to High Performance Computing resources, I'm a lucky guy. I've got a fairly...

1 year ago

Thumbnail

Published


From HPC consultancy to a faster fzero function in MATLAB R2023a
Sometime in 2021, I was doing some High Performance Computing (HPC) consultancy with a university in the south of England....

2 years ago

Thumbnail

Published


Working efficiently with data: Parquet files and the Needle in a Haystack problem
This is a guest post by Onomitra Ghosh who is the Product Manager for MATLAB Data Analysis and Big Data workflows. How...

2 years ago

Thumbnail

Published


MATLAB Community Toolbox Training Projects in Neuroscience
This is a guest blog post by Vijay Iyer, Principal Academic Discipline Specialist (Neuroscience) at MathWorks.For folks in...

2 years ago

Thumbnail

Published


Do you use Visual Studio Code? MATLAB is now there too.
Along with many other developers, it was love at first sight for me when I first experienced Visual Studio Code. Highly...

2 years ago

Thumbnail

Published


Celebrating springtime: The MATLAB Daffodil
Although not the earliest to appear here in the UK, Daffodils are the flowers that, for me at least, scream "Spring has...

2 years ago

Thumbnail

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

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

2 years ago | 2

Published


The new combinations function in MATLAB – for cartesian products and parameter sweeps
I've always been a release notes nerd as I think that you can learn a lot from the raft of enhancements that come with every...

2 years ago

Thumbnail

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

2 years ago | 3

Published


Try Dark Mode on Desktop MATLAB with the ‘New Desktop for MATLAB’ beta
For longer than any of us at MathWorks are comfortable with, the following story has played out every time we release a...

2 years ago

Thumbnail

Published


Function handles are faster in MATLAB R2023a
Roughly speaking, there are two ways we at MathWorks can speed up MATLAB. We can dive into individual functions to remove...

2 years ago

Thumbnail

Answered
Help with ODE tolerance options
Thanks so much for including all of your code and data. It allowed me to run everything on my machine and use the profiler to f...

2 years ago | 0

Answered
Matlab equivalent to iPython Notebook
An update on this question: MathWorks have now released an official MATLAB kernel for Jupyter. Details at Official MathWorks MAT...

2 years ago | 0

Answered
How to install Matlab Jupyter engine on macOS
MathWorks have now released a MATLAB Kernel for Jupyter. You should find this easier to use! Official MathWorks MATLAB kernel fo...

2 years ago | 0

Answered
Jupyterhub with Matlab integration
MathWorks have now released a MATLAB kernel for Jupyter. Details at Official MathWorks MATLAB kernel for Jupyter released » The...

2 years ago | 2

Published


Official MathWorks MATLAB kernel for Jupyter released
Update: Since this post was published, the MATLAB Kernel for Jupyter has also been made available on Windows. See......

2 years ago

Thumbnail

Answered
How to hide code in live script files for others to not see?
How you proceed depends on what you mean by 'hide'. You can make the code disappear by clicking on the third icon on the right ...

2 years ago | 0

Published


Which MATLAB Optimization functions can solve my problem?
The solvers function from Optimization toolbox is one of my favourite enhancements of R2022b because it helps improve my...

2 years ago

Thumbnail

Published


Add two lines to your MATLAB code to make it work with big data
Today's guest blogger is Harald Brunnhofer, a Principal Training Engineer at MathWorks. On top of getting thousands of...

2 years ago

Thumbnail

Published


Playing with the R2022b MATLAB Apple Silicon beta for M1/M2 Mac
Update 22nd June 2023: An updated blog post about MATLAB on Apple Silicon can be found at...

2 years ago

Thumbnail

Answered
Efficient way of Vectorization
Switch the order of the loops around. It will be faster because you'll be operating on the matrix column-wise test function ...

2 years ago | 4

Published


MATLAB’s High Performance Computing (HPC) and ‘Big Data’ datatypes
Table of ContentsgpuArrays - GPU programming made easy dlarray - Specialised objects for Deep Learning training Tall...

2 years ago

Thumbnail

Answered
Macbook arm M1/M2 chip support
Yes. It is in development now. There was a beta released a few months ago that is no longer available Exploring the MATLAB beta...

2 years ago | 1

Answered
How can i plot this function? y=0.75/(log10(x)*2).^2
How about this? x = linspace(0.01,0.99,100); % Avoid tricky inputs like 1 y = 0.75./(log10(x)*2).^2; plot(x,y)

2 years ago | 0

Answered
Why aren't the first and last peaks detected using findpeaks()?
For vec1, the reason is that the peak is also the last data point and so is intentionally exlcuded. The findpeaks documentation...

2 years ago | 1

| accepted

Answered
sin(2*pi) vs sind(360)
If you ever need to compute sin(x*pi) or cos(x*pi), its better to do sinpi(x) or cospi(x). You never explicitly multily x by a ...

2 years ago | 2

Load more