Community Profile

# ali eskandari

Last seen: plus d'un an il y a Actif depuis 2020

#### Content Feed

Afficher par

Question

how apply k-means on a n by m matrix based on rows
I want to apply a kmeans clustering with cosine distance on a n by m matrix and I want to define each row as a sample. how can I...

plus d'un an il y a | 1 réponse | 0

### 1

réponse

Question

how to scan a matrix row by row and save index of elements
A = 1 2 3 4 0.5 5 6 2 5 3 1 3 I have a matrix-like A, and my aim is to scan the...

plus d'un an il y a | 1 réponse | 0

### 1

réponse

Question

count matrix elements in defined intervals by histogram
In the attached matrix, I want to extract the ratios of matrix elements at defined intervals. In order to do that, I have writte...

plus d'un an il y a | 1 réponse | 0

### 1

réponse

Question

extract the intersection of two matrices
Hi I have two matrices, one is binary (A) and other one with values between [0-1] (B). My aim is to extract the intersection of...

plus d'un an il y a | 1 réponse | 0

### 1

réponse

Question

Extract pixel values inside a Binary Mask
I have an image and the ROI points. I did the following to extract the ROI by creating a binary mask with poly2mask. now I want ...

plus d'un an il y a | 1 réponse | 0

### 1

réponse

Question

I have two matrices, A and B. I want to extract values of matrix A based on indexes of B. Consider B like a pixel position in a...

plus d'un an il y a | 1 réponse | 0

### 1

réponse

Question

Shanon entropy of a matrix
I defined a matrix like A and I want to calculate its entropy and when I use the entropy function it returns zero : A = [2,3,4...

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

### 1

réponse

Question

how to define a gradient colormap
I have different matrices with elements between zero and one, then I want to subtract some of them from each other and plot the ...

presque 2 ans il y a | 2 réponses | 0

### 2

réponses

Question

Create a mask for different values
I want to subtract two images and show the results in another figure. For instance, if the subtraction matrix has 0 value indica...

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

### 1

réponse

Question

how to avoid for loops or faster way for compute 3x3 avarage value of an image
I have a few pixels in an image and I want to calculate the average values ​​of a 3x3 window centred on those pixels in Matlab. ...

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

réponse