Feeds
提问
How to speed up a euclidean distance calculation between one pixel and many others
I am calculating the euclidean distance between a pixel (x,y) and many other pixels in a matrix. I identify the x and y coordina...
5 years 前 | 1 个回答 | 0
1
个回答提问
Determing "turning angle" of 3 points on a matrix
I am simulating movement of a bot on a matrix and keep track of its x and y coordinates. For every current position, I need to c...
5 years 前 | 1 个回答 | 0
1
个回答提问
How can I randomly select smaller values with higher probabilities?
I have a column vector "distances", and I want to select a value randomly from this vector such that smaller values have a highe...
6 years 前 | 0 个回答 | 0
0
个回答提问
Increasing efficiency of for loop cycling through 2 vectors
I have code which decreases the value of certain cells in a matrix by a specific value every iteration for 336 iterations. In or...
6 years 前 | 1 个回答 | 0
1
个回答提问
How can i iteratively reduce the value of particular matrix elements?
I have a matrix called "weighted_cost" that is created by multiplying two other matrices of the same size, "weighted_C" and ...
6 years 前 | 1 个回答 | 0
1
个回答提问
How can I plot matrix locations on top of corresponding matrix elements?
Hi, I have a set of 20 matrix locations (elements) which have their subscript indices stored as "xpossav" and "ypossav". Thes...
7 years 前 | 0 个回答 | 0
0
个回答提问
How can I calculate the distance between a set of points and a single point within a matrix?
Hi, I need to calculate the euclidean distance between a set of points on a matrix, and one other point in the same matrix. I...
7 years 前 | 2 个回答 | 0