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

más de 1 año hace | 6

Publicado


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

más de 1 año hace

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

más de 1 año hace | 8

Publicado


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

más de 1 año hace

Thumbnail

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

más de 1 año hace | 0

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

más de 1 año hace | 0

Publicado


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

más de 1 año hace

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

más de 1 año hace | 5

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

más de 1 año hace | 0

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

más de 1 año hace | 0

| aceptada

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

más de 1 año hace | 0

| aceptada

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

más de 1 año hace | 4

Publicado


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

más de 1 año hace

Thumbnail

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

más de 1 año hace | 0

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

más de 1 año hace | 2

| aceptada

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

más de 1 año hace | 0

| aceptada

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

más de 1 año hace | 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...

más de 1 año hace | 10

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

más de 1 año hace | 0

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

más de 1 año hace | 0

| aceptada

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

más de 1 año hace | 1

| aceptada

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

más de 1 año hace | 0

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

más de 1 año hace | 0

| aceptada

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

más de 1 año hace | 0

| aceptada

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

más de 1 año hace | 0

| aceptada

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

más de 1 año hace | 2

Publicado


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

más de 1 año hace

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

más de 1 año hace | 4

Publicado


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

más de 1 año hace

Thumbnail

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

más de 1 año hace | 1

Cargar más