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

mehr als ein Jahr vor | 6

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

mehr als ein Jahr vor | 2

| akzeptiert

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

mehr als ein Jahr vor | 10

Beantwortet
How do I programmatically switch to Dark Mode (Dark Theme) in R2025a?
This is supported from R2025a onwards. This is what you need to do >> s = settings; >> s.matlab.appearance.MATLABTheme.Persona...

mehr als ein Jahr vor | 4

| akzeptiert

Frage


How do I programmatically switch to Dark Mode (Dark Theme) in R2025a?
I am running R2025a pre-release. What are the commands to switch to dark mode?

mehr als ein Jahr vor | 2 Antworten | 4

2

Antworten

Veröffentlicht


Debugging support in the MATLAB extension for Visual Studio Code
Since its April 2023 launch, the MATLAB extension for Visual Studio Code has been extremely popular with over 329,000...

mehr als ein Jahr vor

Thumbnail

Discussion


Deep learning (and traditional Machine Learning) online training updates
The MATLAB Online Training Suite has been updated in the areas of Deep Learning and traditional Machine Learning! These are grea...

mehr als ein Jahr vor | 5

Beantwortet
How do get all of my python libraries in matlab?
Your python environment looks strange to me. I've never seen pythonw.exe used in MATLAB Python environment. It's usually python...

fast 2 Jahre vor | 0

| akzeptiert

Beantwortet
Is there a student version of the Aerospace Toolbox?
There is no free student version of MATLAB but there is a version that is heavily discounted. Go to MATLAB for Students - MATLAB...

fast 2 Jahre vor | 1

| akzeptiert

Beantwortet
I'm trying to make a simple calculator for circuits. And I can not figure out how to take the answer and limit to only like two numbers after the decimal place.
This page on the documentation will help explain the details: Formatting Text TotalResistance = 186.66; fprintf("The total res...

fast 2 Jahre vor | 0

| akzeptiert

Beantwortet
GPU programming for Mac M1
I have an M2 Mac and I have just bought an M4 Mac for my wife. I love the hardware on these machines, its superb! I wrote the bl...

fast 2 Jahre vor | 3

| akzeptiert

Gelöst


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

fast 2 Jahre vor

Veröffentlicht


Solving Higher-Order ODEs in MATLAB
In a comment to last year's introduction to the new ODE solution framework in MATLAB, Ron asked if I could provide an...

fast 2 Jahre vor

Thumbnail

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

fast 2 Jahre vor | 0

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

fast 2 Jahre vor | 0

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

fast 2 Jahre vor | 0

Discussion


MATLAB en Español
Many of my best friends at MathWorks speak Spanish as their first language and we have a large community of Spanish-speaking use...

fast 2 Jahre vor | 6

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

fast 2 Jahre vor | 1

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

fast 2 Jahre vor | 1

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

fast 2 Jahre vor | 0

| akzeptiert

Beantwortet
Massive slowdown for Apple Silicon in computing SVD
Update:This has now been fixed as of R2025a Update 1 Your script on my M2 in R2025a Update 1: >> slowSVD Elapsed time is 0.00...

fast 2 Jahre vor | 2

| akzeptiert

Discussion


MATLAB and Numpy
I've always used MATLAB with other languages. In the early days, C and C++ via mex files were the most common ways I spliced two...

fast 2 Jahre vor | 4

Veröffentlicht


NumPy in MATLAB
I've been a user of Python for almost as long as I've been a user of MATLAB and am very comfortable with both ecosystems. As...

fast 2 Jahre vor

Thumbnail

Discussion


An unintentional MATLAB meme
I enjoyed this post on BlueSky yesterday (1) Ben Hayden: "When you are using matlab and you want to get the square root of the...

fast 2 Jahre vor | 9

Veröffentlicht


20 years of supercomputing with MATLAB
While prepping for the SC24 supercomputing conference with the rest of the MathWorks crew I idly wondered when Parallel...

fast 2 Jahre vor

Thumbnail

Discussion


MATLAB Expo sessions on Open Source
Next week is MATLAB EXPO week and it will be the first one that I'm presenting at! I'll be giving two presentations, both of whi...

fast 2 Jahre vor | 3

Veröffentlicht


Linear Programming, the HiGHS Optimization library and MATLAB
What is linear programming?Linear programming (LP) is a mathematical method used to determine the best possible outcome...

fast 2 Jahre vor

Thumbnail

Gelöst


Return area of square
Side of square=input=a Area=output=b

fast 2 Jahre vor

Gelöst


Add two numbers
Given a and b, return the sum a+b in c.

fast 2 Jahre vor

Gelöst


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

fast 2 Jahre vor

Mehr laden