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, ','))

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

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

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

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

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

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

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

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

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

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

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

11 months 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)...

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

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

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

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

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

12 months ago | 0

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

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

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

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

12 months ago | 2

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

12 months ago

Thumbnail

Discussion


Run DeepSeek models on your own machine and interact with them using MATLAB
You've probably heard about the DeepSeek AI models by now. Did you know you can run them on your own machine (assuming its power...

1 year ago | 4

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

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

1 year ago | 1

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

1 year ago

Thumbnail

Discussion


Faster linear algebra for Apple Silicon users in the R2025a pre-release (available now!)
So you've downloaded the R2025a pre-release, tried Dark mode and are wondering what else is new. A lot! A lot is new! One thi...

1 year ago | 6

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

1 year ago | 2

| accepted

Discussion


Give Dark Mode a try in the R2025a pre-release
Hi everyone The R2025a pre-release is now available to licensed users. I highly encourage you to download, give it a try and gi...

1 year ago | 10

Load more