Publicado


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

más de 1 año hace

Thumbnail

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

más de 1 año hace | 0

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

más de 1 año hace | 0

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

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

más de 1 año hace | 6

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

más de 1 año hace | 1

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

más de 1 año hace | 1

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

más de 1 año hace | 0

| aceptada

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

más de 1 año hace | 2

| aceptada

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

más de 1 año hace | 4

Publicado


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

más de 1 año hace

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

más de 1 año hace | 9

Publicado


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

más de 1 año hace

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

más de 1 año hace | 3

Publicado


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

más de 1 año hace

Thumbnail

Resuelto


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

más de 1 año hace

Resuelto


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

más de 1 año hace

Resuelto


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

más de 1 año hace

Resuelto


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

más de 1 año hace

Resuelto


Create a vector
Create a vector from 0 to n by intervals of 2.

más de 1 año hace

Resuelto


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

más de 1 año hace

Resuelto


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not to use d...

más de 1 año hace

Publicado


Creating seamless loop animations in MATLAB
This is a guest post by Vasileios Bellos that he originally wrote in the MathWorks Central Discussions channel. Vasileios is...

más de 1 año hace

Thumbnail

Resuelto


Find max
Find the maximum value of a given vector or matrix.

más de 1 año hace

Resuelto


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

más de 1 año hace

Resuelto


Inner product of two vectors
Find the inner product of two vectors.

más de 1 año hace

Resuelto


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

más de 1 año hace

Publicado


4 ways of using MATLAB with Large Language Models (LLMs) such as ChatGPT and Ollama
Everyone's talking about Large Language Models (LLMs) and a huge number of you are using them too. Here are 4 ways to make...

más de 1 año hace

Thumbnail

Publicado


MATLAB now has over 1,000 functions that Just Work on NVIDIA GPUs
GPU support in MATLAB started in R2010bBack in R2010b, the first GPU enabled functions were made available in MATLAB via...

más de 1 año hace

Thumbnail

Publicado


Weather and climate data in MATLAB: GRIB file format support
Author: This is a guest post by Jacob Halbrooks, Manager of Mapping at MathWorks.GRIB is a standard file format used to...

más de 1 año hace

Thumbnail

Cargar más