Community Profile # Meg Cullen

Active since 2019

#### Statistics

• #### Content Feed

View by

Question

Padding zeros at the end row of a matrix
For a matrix A = Nx2, how to pad [0 0] row at the end of the matrix to make the number of rows divisible by a number d? example...

nästan 4 år ago | 1 answer | 0

### 1

Question

Split a matrix into separate matrices and find centroid of each smaller matrix
I want to split a Nx2 matrix into k number of matrices, find the centroid of each matrix and then put the centroids into another...

nästan 4 år ago | 1 answer | 0

### 1

Question

Count number of elements in a matrix more or less than given numbers
I want to count number of elements in the 2nd column of a matrix more or less than given numbers x and y. For example, In the m...

nästan 4 år ago | 2 answers | 0

### 2

Question

Modify function to take input argument of marker
In this data cluster function the plot marker by default is '.' https://in.mathworks.com/matlabcentral/fileexchange/31710-plotc...

nästan 4 år ago | 1 answer | 0

### 1

Question

Replace largest elements in matrix with NaN
I would like to replace the n largest numbers in first column with NaN in a matrix. For example for value n = 3 for matrix A ou...

nästan 4 år ago | 1 answer | 0

### 1

Question

Find if max elements in array < or > a given number
I would like to write a code to calculate if a array, for example: [6 7 4 8 9] has maximum elements above 5 (this number will b...

nästan 4 år ago | 1 answer | 0

### 1

Question

Pad empty spaces in matrix with 0
I have a matrix of the form: 1 4 6 3 7 3 4 6 2 9 5 5 8 2 5 4 8 1 3 9 4 As I accumulated the rows of the matrix from diff...

nästan 4 år ago | 2 answers | 0