Community Profile

photo

Meg Cullen


8 total contributions since 2019

Meg Cullen's Badges

  • Thankful Level 2

View details...

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

1 year ago | 1 answer | 0

1

answer

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

1 year ago | 1 answer | 0

1

answer

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

1 year ago | 2 answers | 0

2

answers

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

1 year ago | 1 answer | 0

1

answer

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

1 year ago | 1 answer | 0

1

answer

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

1 year ago | 1 answer | 0

1

answer

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

1 year ago | 2 answers | 0

2

answers

Question


How do I split a string of numbers in n+1th successive intervals and put them in a array or matrix.
I need to split a string of numbers, for example- 123456123456123456123..... into separate elements in the form 12345612 23...

1 year ago | 2 answers | 0

2

answers