Community Profile

photo

ali eskandari


Last seen: mer än 2 år ago Active since 2020

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

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

mer än 2 år ago | 1 answer | 0

1

answer

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

mer än 2 år ago | 1 answer | 0

1

answer

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

mer än 2 år ago | 1 answer | 0

1

answer

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

mer än 2 år ago | 1 answer | 0

1

answer

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

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

1

answer

Question


Access to matrix elements
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...

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

1

answer

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

ungefär 3 år ago | 1 answer | 0

1

answer

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

ungefär 3 år ago | 2 answers | 0

2

answers

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

ungefär 3 år ago | 1 answer | 0

1

answer

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

mer än 3 år ago | 1 answer | 0

1

answer