Respondida
Matlab equivalent to iPython Notebook
An update on this question: MathWorks have now released an official MATLAB kernel for Jupyter. Details at Official MathWorks MAT...

más de 1 año hace | 0

Respondida
How to install Matlab Jupyter engine on macOS
MathWorks have now released a MATLAB Kernel for Jupyter. You should find this easier to use! Official MathWorks MATLAB kernel fo...

más de 1 año hace | 0

Respondida
Jupyterhub with Matlab integration
MathWorks have now released a MATLAB kernel for Jupyter. Details at Official MathWorks MATLAB kernel for Jupyter released » The...

más de 1 año hace | 2

Publicado


Official MathWorks MATLAB kernel for Jupyter released
Update: Since this post was published, the MATLAB Kernel for Jupyter has also been made available on Windows. See......

más de 1 año hace

Thumbnail

Respondida
How to hide code in live script files for others to not see?
How you proceed depends on what you mean by 'hide'. You can make the code disappear by clicking on the third icon on the right ...

más de 1 año hace | 0

Publicado


Which MATLAB Optimization functions can solve my problem?
The solvers function from Optimization toolbox is one of my favourite enhancements of R2022b because it helps improve my...

más de 1 año hace

Thumbnail

Publicado


Add two lines to your MATLAB code to make it work with big data
Today's guest blogger is Harald Brunnhofer, a Principal Training Engineer at MathWorks. On top of getting thousands of...

más de 1 año hace

Thumbnail

Publicado


Playing with the R2022b MATLAB Apple Silicon beta for M1/M2 Mac
Update 22nd June 2023: An updated blog post about MATLAB on Apple Silicon can be found at...

más de 1 año hace

Thumbnail

Respondida
Efficient way of Vectorization
Switch the order of the loops around. It will be faster because you'll be operating on the matrix column-wise test function ...

más de 1 año hace | 4

Publicado


MATLAB’s High Performance Computing (HPC) and ‘Big Data’ datatypes
Table of ContentsgpuArrays - GPU programming made easy dlarray - Specialised objects for Deep Learning training Tall...

más de 1 año hace

Thumbnail

Respondida
Macbook arm M1/M2 chip support
Yes. It is in development now. There was a beta released a few months ago that is no longer available Exploring the MATLAB beta...

más de 1 año hace | 1

Respondida
How can i plot this function? y=0.75/(log10(x)*2).^2
How about this? x = linspace(0.01,0.99,100); % Avoid tricky inputs like 1 y = 0.75./(log10(x)*2).^2; plot(x,y)

más de 1 año hace | 0

Respondida
Why aren't the first and last peaks detected using findpeaks()?
For vec1, the reason is that the peak is also the last data point and so is intentionally exlcuded. The findpeaks documentation...

más de 1 año hace | 1

| aceptada

Respondida
sin(2*pi) vs sind(360)
If you ever need to compute sin(x*pi) or cos(x*pi), its better to do sinpi(x) or cospi(x). You never explicitly multily x by a ...

casi 2 años hace | 1

Respondida
Why in matlab sin(pi) is not zero but sin(pi/2) is 1?
If you ever need to compute sin(x*pi) or cos(x*pi), its better to do sinpi(x) or cospi(x). You never explicitly multily x by a ...

casi 2 años hace | 2

Publicado


sinpi, cospi, implicit expansion and The 2022 MATLAB Mini-Hack
The 2022 MATLAB Mini-Hack is currently underway where MATLAB users submit 280 characters of code in order to produce a cool...

casi 2 años hace

Thumbnail

Publicado


How Well Can I Draw a Circle? A MATLAB Adventure
Today's guest blogger is Rob Holt, who works at MathWorks in Natick, Massachusetts. Rob currently serves as the Manager for...

casi 2 años hace

Thumbnail

Resuelto


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

casi 2 años hace

Respondida
Is there any concept like dictionary or hash tables in matlab like in Python?
As of R2022b, MATLAB has a new dictionary datatype An introduction to dictionaries (associative arrays) in MATLAB » The MATLAB B...

casi 2 años hace | 8

Respondida
How to make dictionary in Matlab
In R2022b and later, you can use the new dictionary type for this. Faster than containers.map. A tutorial-like introduction at...

casi 2 años hace | 0

| aceptada

Respondida
Dictionaries of Hashtables in MATLAB?
Reviving this thread in 2022 because R2022b contains a new dictionary data type. A tutorial-like introduction at An introductio...

casi 2 años hace | 1

Respondida
Faster alternative to containers.Map
MATLAB R2022b has a new dictionary datatype that's much faster than containers.map. A tutorial-like introduction at An introduc...

casi 2 años hace | 0

Publicado


An introduction to dictionaries (associative arrays) in MATLAB
Dictionaries are one of the many new features of MATLAB R2022b which was released yesterday. Today I'll take a look at some...

casi 2 años hace

Thumbnail

Respondida
how to remove/kill the figure produced with colormap
If the colormap is the most recent command you've executed, it will be the current figure. As such, you can use delete(gcf) W...

casi 2 años hace | 0

| aceptada

Respondida
How do I know how large an array can fit on the GPU?
As you've seen, gpuDevice() gives you information about your GPU. This is what I get for mine >> gpuDevice() ans = CUDA...

casi 2 años hace | 0

| aceptada

Respondida
process based parpool: keep the data in the workers
Parfor is great, it auto-parallelises for us and takes care of a lot of things like data transfer to/from workers and so on. At ...

alrededor de 2 años hace | 0

Publicado


Linear Algebra in MATLAB: Trying out AMD’s AOCL
In R2022a, MathWorks started shipping AMD’s AOCL alongside Intel’s MKL in MATLAB.  This article explains what these are and...

alrededor de 2 años hace

Thumbnail

Publicado


R2022a was MathWorks biggest release ever
Every day, over 5000 MathWorkers start their work day thinking ‘How can I contribute to the acceleration of engineering and...

alrededor de 2 años hace

Thumbnail

Publicado


[6 3 7 8 5 1 2 4 9 10] – or “A Story of Surprise About Randomness”
Back in late March, Tom Rhys Marshall discovered something about MATLAB’s handling of random numbers that he found both...

alrededor de 2 años hace

Thumbnail

Publicado


How to make a GPU version of this MATLAB program by changing two lines
In his article, A short game of Life, Steve Eddins showed us the following few lines of code that impemented Conway's game...

alrededor de 2 años hace

Thumbnail

Cargar más