photo

ali eskandari


Last seen: ongeveer 3 jaar ago Active since 2020

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

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

ongeveer 3 jaar 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...

ongeveer 3 jaar 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...

meer dan 3 jaar 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...

meer dan 3 jaar 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 ...

meer dan 3 jaar 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...

meer dan 3 jaar 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...

meer dan 3 jaar 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 ...

meer dan 3 jaar 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...

bijna 4 jaar 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. ...

ongeveer 4 jaar ago | 1 answer | 0

1

answer