# Royi Avital

### Ben Gurion University

Last seen: Today Actif depuis 2011

Followers: 0   Following: 0

All

#### Feeds

Afficher par

Réponse apportée
How do I remove the border lines surrounding an axes?
In newer MATLAB versions this can be done using the XAxis and YAxis sub objectes: hF = figure(); hA = axes(hF); set(hA, '...

5 mois il y a | 0

A soumis

Calculate Image Entropy
The function `CalcImgEntropy()` calculates the entropy of the colors of a `UINT8` image with single or multiple (Up to 8) channe...

plus d'un an il y a | 1 téléchargement |

Question

List of New / Updated Functions per MATLAB Version
Is there a way to generate a list of new (Or updated) functions in MATLAB per release? I know I can see in documentation per fu...

plus de 2 ans il y a | 2 réponses | 0

### 2

réponses

Réponse apportée
Assign a Sub Array to Array Knowing the Number of Dimensions at Run Time
OK, It turns out it can be done using Cell Arrays: vSizeB = size(tB); numDims = length(vSizeB); %<! Equals to ndims(tB) cId...

plus de 2 ans il y a | 0

| A accepté

Question

Assign a Sub Array to Array Knowing the Number of Dimensions at Run Time
Assume we have tA and tB with the same number of dimesions. We also have all(size(tB) <= size(tA)) == true. The task is to emb...

plus de 2 ans il y a | 2 réponses | 0

### 2

réponses

Question

Convert a LayerGraph into a DAGNetwork - Validate and Initialize the Net
In theory, the function assembleNetwork() should convert a LayerGraph into a DAGNetwork. Yet in practice, it doesn't always wor...

plus de 2 ans il y a | 1 réponse | 0

### 1

réponse

A résolu

Sum of series II
What is the sum of the following sequence: Σ(2k-1)^2 for k=1...n for different n?

plus de 2 ans il y a

A résolu

Sum of series I
What is the sum of the following sequence: Σ(2k-1) for k=1...n for different n?

plus de 2 ans il y a

A soumis

Incomplete Cholesky Decomposition
Implementation of the Incomplete Cholesky Decomposition with Thresholding

presque 3 ans il y a | 2 téléchargements |

A soumis

Solves a Quadratic Programming problem using Alternating Direction Method of Multipliers (ADMM). This is a MATLAB implementation...

presque 3 ans il y a | 8 téléchargements |

A soumis

GLPKMEX - GNU Linear Programming Kit (GLPK) MEX Generator
This MATLAB package generates a stand alone MEX file for the GNU Linear Programming Kit (GLPK). The MEX can solve Linear Program...

environ 3 ans il y a | 27 téléchargements |

Réponse apportée
Since IMGUR uses REST based API you can do it in MATLAB. Best way to start is trying to replicate the Python library: IMGUR P...

plus de 3 ans il y a | 0

Réponse apportée
How do I initialize a complex array to zeros in MATLAB?
In later versions one could do something like vB = zeros(3, 1, 'like', 1j);.

plus de 3 ans il y a | 3

Réponse apportée
How can I set a custom path in Matlab R2017a on MacOS?
You should use setenv() to set the path. Pay attention that usually you want to add something to the path and not override it. ...

plus de 3 ans il y a | 1

| A accepté

Réponse apportée
Is there a way to Call Jupyter from Matlab?
I am not sure what do you mean by calling Jupyter from MATLAB. If you mean using MATLAB in Jupyter, it is certainly doable and ...

environ 4 ans il y a | 0

| A accepté

A soumis

1D Convolution by Overlap and Save - Optimized
Highly optimized implementation of the Overlap and Save method for Linear 1D Convolution. The function optimizes the optimal DFT...

environ 4 ans il y a | 1 téléchargement |

Réponse apportée
how to implement MILP in matlab
I also created a MEX wrapper around GNU Linear Programming Kit (GLPK). You may find it at https://www.mathworks.com/matlabcentr...

environ 4 ans il y a | 1

Réponse apportée
Most Efficient Way to Construct the Matrices to Extract the Lower and Upper Triangle from a Vectorized Matrix
My current solution: function [ mLU ] = GenerateTriangleExtractorMatrix( numRows, triangleFlag, diagFlag ) EXTRACT_LOWER_TRI...

environ 4 ans il y a | 0

Question

Most Efficient Way to Construct the Matrices to Extract the Lower and Upper Triangle from a Vectorized Matrix
Given a matrix and its vector form I am after the most efficient way to build the matrices and which extracts the lower and ...

environ 4 ans il y a | 3 réponses | 1

### 3

réponses

Question

Generating Toeplitz Matrix which Matches the Convolution Shape Same
Given a filter vH I'm looking for vectors vR and vC such that: toeplitz(vC, vR) * vX = conv(vX, vH, 'same'); For instance, for...

plus de 4 ans il y a | 3 réponses | 1

### 3

réponses

Réponse apportée
Matlab equivalent to iPython Notebook
As written above, there is the option of MATLAB's Live Editor. I find it to be really limited vs. iPython Notebook. They are no...

plus de 4 ans il y a | 1

Question

Faster and More Efficient `squareform()`
I'm using squareform(pdist(mX)) fairly often. The problem is squareform() is so slow it makes use of pdist2(mX, mX) faster. ...

plus de 4 ans il y a | 1 réponse | 0

### 0

réponse

Question

How to Imply the Input Array Dimensions to MATLAB Coder
Assuming I have a simple function in MATLAB: function [ mG ] = ProcessImage( mI ) %#codegen mG = edge(mI, 'Sobel', [], 'bo...

presque 5 ans il y a | 1 réponse | 0

### 1

réponse

Question

MATLAB's JIT Engine
Do you think MATLAB's JIT engine is oudated? It does look so. Look at Julia Language: http://julialang.org/ What do you think?...

environ 5 ans il y a | 5 réponses | 2

### 5

réponses

Réponse apportée
Can I use Microsoft Visual Studio 2019 with MATLAB R2019a or R2018b?
I'm not sure how the search for Compiler works for the mex command. From 5 minutes research I did I came to the conclusion it w...

environ 5 ans il y a | 2

Réponse apportée
SuiteSparse Installation: Cannot open include file: 'regex.h'
Why would you need SuiteSparse in MATLAB? I though MATLAB uses SuiteSparse to begin with.

environ 5 ans il y a | 0

Question

Improving Speed and Reducing Memory Consumption with Creation of 2D Sparse Convolution Matrix
In a previous question of mine, Creating Convolution Matrix of 2D Kernel for Different Shapes of Convolution, among answers of t...

plus de 5 ans il y a | 1 réponse | 0

### 0

réponse

Réponse apportée
Creating Convolution Matrix of 2D Kernel for Different Shapes of Convolution
Here is my solution which build Doubly Block Toeplitz Matrix: function [ mK ] = Create2DKernelConvMtxSparse( mH, numRows, numCo...

plus de 5 ans il y a | 1

A résolu

Generate Convolution Matrix of 2D Kernel with Different Convolution Shapes (Full, Same, Valid)
In this problem the challenge is to build the Matrix Form equivalent of the function `conv2()` of MATLAB. The function to be ...

plus de 5 ans il y a

Question

Creating Convolution Matrix of 2D Kernel for Different Shapes of Convolution
MATLAB, for thos who have access to Image Processing Toolbox offers the function convmtx2(). Yet there are 2 issues: It is onl...

plus de 5 ans il y a | 4 réponses | 1

réponses