Answered
Is it possible to use keyHash without the random seed per MATLAB session?
I'm afraid not, can you tell us more about your workflow? When you look across various other languages, no one seems to guarant...

11 months ago | 0

Published


Solving practical problems on quantum computers and quantum-inspired hardware with Quadratic Unconstrained Binary Optimization (QUBO)
In my first article on quantum computing I took a look at gate based quantum computing using the MATLAB Support Package for...

11 months ago

Thumbnail

Answered
unable to import EfficientNet from onnx
While researching EfficientNet I discovered this old answer so thought I'd update with the current situation as of R2024b. Loo...

11 months ago | 0

Answered
EfficientNet model support in MATLAB's Deep Learning Toolbox
Looking at the documentation for imagePretrainedNetwork I can see that EfficientNet B0 is directly supported which you can choos...

11 months ago | 0

Discussion


If you have parallel MATLAB code, try ThreadPool
Me: If you have parallel code and you apply this trick that only requires changing one line then it might go faster. Reddit use...

12 months ago | 6

Published


Parallel computing in MATLAB: Have you tried ThreadPools yet?
Give ThreadPool a tryIf you have some parallel MATLAB code and want to try something that may make it go faster then I...

12 months ago

Thumbnail

Discussion


R2025a Prerelease Update 5 discussion
There has been a lot of discussion here about the R2025a Prerelease that has really helped us get it ready for the prime time. T...

12 months ago | 8

Published


We’ve been listening: MATLAB R2025a Prerelease update 5 now available
The first public version of the R2025a Prerelease went live in January and today we released update 5. This update to the...

12 months ago

Thumbnail

Answered
How to make str2double recognize comma delimited numbers?
Try using str2num instead str2num('2,3',Evaluation = "restricted") or possibly this s = '2,3'; str2double(split(s, ','))

12 months ago | 0

Answered
Antenna Toolbox simulations come out wrong
Hi @Joshua. I've reported this to development who think this may be a bug and are currently investigating. Thank you for the re...

12 months ago | 0

Published


Advance Optimization Software: Fully Funded PhD with HiGHS and MathWorks at University of Edinburgh
Last year I discussed the collaboration between the open source optimization library, HiGHS and MathWorks. This included...

1 year ago

Thumbnail

Discussion


What are the first steps to developing a new toolbox?
Imagine you are developing a new toolbox for MATLAB. You have a folder full of a few .m files defining a bunch of functions and ...

1 year ago | 5

Answered
Plots saved as JPEG look awful. How to improve?
JPEG is a lossy file format which means that it can have a degradation in quality from the original. If Powerpoint is to be the...

1 year ago | 0

Answered
Intel vs AMD for a new build in 2025
I am in the market for a new personal machine myself. I don't have any answers as to what is best but I can tell you that MATLAB...

1 year ago | 0

| accepted

Answered
Optimizing number of threads and workers in virtual machines.
In general, this depends hugely on exactly what your code is doing. If there was one perfect setting that always worked, it woul...

1 year ago | 0

| accepted

Discussion


Join MathWorks and AWS in this hands on Quantum Computing Workshop: March 26 and 27 2025
Learn the basic of quantum computing, how to simulate quantum circuits on MATLAB and how to run them on real quantum computers u...

1 year ago | 4

Published


MathWorks Call for Research Proposals Spring 2025
Do you conduct research on 'Engineered Systems'?If you are in the business of building or conducting research on 'Engineered...

1 year ago

Thumbnail

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

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

1 year ago | 2

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

1 year ago | 0

| accepted

Discussion


All you need is....
tiledlayout(4,1); % Plot "L" (y = 1/(x+1), for x > -1) x = linspace(-0.9, 2, 100); % Avoid x = -1 (undefined) y =1 ./ (x+1)...

1 year ago | 6

Discussion


MATLAB Without Borders: Connecting your projects with Python and other Open Source Tools.
On 27th February María Elena Gavilán Alfonso and I will be giving an online seminar that has been a while in the making. We'll b...

1 year ago | 10

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

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

1 year ago | 0

| accepted

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

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

1 year ago | 0

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

1 year ago | 0

| accepted

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

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

1 year ago | 0

| accepted

Discussion


On love and research software: Learning about research code sharing for Valentine's day
For Valentine's day this year I tried to do something a little more than just the usual 'Here's some MATLAB code that draws a pi...

1 year ago | 2

Load more