Solved


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

1 year ago

Solved


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

1 year ago

Solved


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

1 year ago

Solved


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

1 year ago

Solved


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

1 year ago

Published


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

1 year ago

Thumbnail

Solved


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

1 year ago

Solved


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

1 year ago

Solved


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

1 year ago

Solved


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

1 year ago

Published


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

1 year ago

Thumbnail

Published


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

1 year ago

Thumbnail

Published


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

1 year ago

Thumbnail

Answered
Modifying arrow length based on intersection with polygon
The polyxpoly function is what you need polygon_x = [-20 20 20 -20 -20]; polygon_y = [-50 -50 50 50 -50]; origin = [...

1 year ago | 2

| accepted

Published


The latest version of MATLAB: R2024b has just been released
Representing the culmination of millions of person-hours of work conducted by thousands of engineers around the world, the...

1 year ago

Thumbnail

Discussion


Who will be at SC24?
Hot off the heels of my High Performance Computing experience in the Czech republic, I've just booked my flights to Atlanta for ...

1 year ago | 2

Answered
What's the actual difference between versions 'a' and 'b' of MATLAB, other than being 6 months apart?
This question comes up so often that I made a blog post about it What’s the difference between the A and B releases in MATLAB? »...

1 year ago | 4

Published


What’s the difference between the A and B releases in MATLAB?
As we get closer to the release of MATLAB R2024b this Wednesday, many users inevitably ask "What's the difference between...

1 year ago

Thumbnail

Answered
Matlab Parallel Server vs Matlab + Parallel Computing Toolbox
Hi Anglea Parallel Computing Toolbox provides the parallel language (parfor, parfeval, spmd etc) and will allow you to run prog...

1 year ago | 0

| accepted

Published


Teaching MATLAB at the 2024 EUMaster4HPC High Performance Computing Summer School
I think that MATLAB is a great platform on which to do High Performance Computing (HPC) and take any opportunity I can to...

1 year ago

Thumbnail

Published


Introducing ISC Earthquake Toolbox
Today’s guest blogger is Kostas Leptokaropoulos. Kostas is the MathWorks Geoscience Academic Discipline Manager, supporting...

1 year ago

Thumbnail

Published


International Women in Engineering Day – Team Quotes
I'm so excited to write a guest post for the mighty MATLAB blog, to celebrate International Women in Engineering Day! I'm...

1 year ago

Thumbnail

Answered
pandas in matlab using iloc for indexing
Indexing into Pandas data frames in this way is not supported. As of R2024a, you can convert the dataframe to a MATLAB table and...

1 year ago | 1

Published


Paged Matrix Functions in MATLAB (2024 edition)
Back in 2021, Loren Shure posted an article that introduced the first page-wise matrix functions in MATLAB: A page-wise...

1 year ago

Thumbnail

Published


Celebrating Spring: MATLAB Tulip
Joining us again is Eric Ludlam, development manager of MATLAB’s charting team. Discover more about Eric on our...

1 year ago

Thumbnail

Published


Should we ban tic/toc?
Yesterday morning, I overheard my kids talking about a tic/toc ban which surprised me because they are not MATLAB users and...

2 years ago

Thumbnail

Published


Leading by Example: How lively examples help MATLAB community toolboxes grow their capabilities & communities
Today's post is from Vijay Iyer, a principal academic discipline manager (Neuroscience) who is also leading the MATLAB...

2 years ago

Thumbnail

Answered
Matlab ODE function solving using Python Scipy library.
@Simon Mwakitabu If you are still interested in this, you can now call the SUNDIALS solver direct from MATLAB. Details at Faster...

2 years ago | 0

Answered
Using Sundials cvode solver
As of MATLAB R2024a, SUNDIALS is shipped with and supported directly in MATLAB. See my blog post for details Faster Ordinary D...

2 years ago | 0

Answered
SUNDIALS installation in MATLAB
As of R2024a, There is now SUNDIALS support in MATLAB via the ode interface. This incluldes "idas" Details on The MATLAB Blog: ...

2 years ago | 0

Load more