Problem I want to split an array in sub-arrays of consecutive elements. For example, for the array: a=[1 2 3 […]

# Tag: matlab

## Reduction of time for the code of sorting RGB and Depth images according to timestamp values

Problem I have RGB Images, Depth images and OpenPose Images(generated from RGB Images). The number of RGB and Depth images […]

## Dealing with input and output in Matlab

Problem I just wrote a program which performed some elementary set operations as you can see below. It’s the first […]

## Recursion to generate fractal

Problem I used recursion to generate fractal and got the desired result but I think my code can be better […]

## Getting B+ matrix (Warshall algorithm) in Matlab

Problem Pseudocode: // B = nxn binary matrix // Bm = resulting matrix for (i=1; i<=n; i++) { for (j=1; […]

## K-nearest neighbours in MATLAB

Problem I implemented K-Nearest Neighbours algorithm, but my experience using MATLAB is lacking. I need you to check the small […]

## Mean and variance of element-wise distances in a set of multi-dimensional arrays in Matlab

Problem This is a follow-up question for Calculate distances between two multi-dimensional arrays in Matlab. Given a set SX (n2) […]

## Stochastic gradient descent squared loss

Problem I have implemented stochastic gradient descent in matlab and I would like to compare my results with another source […]