matrix - Calculating distances between points in matlab -
I need some advice on how to create a script to calculate the tangent velocity of data, in fact tangent velocity (VT ) = R * W W is the rotational speed which is 100 r / s in this case. R radius, therefore, imagine a disc, as you go along the edge, R increases, so the price of the weight increases. My problem is, behind the spinning disk, I entered the data, the data is in the matrix of 100x100 data points, however, my disk's radius is 25, i.e., the first 25 data points between the matrix of my disk left and right And moves up and down. Is it possible to write a script that can calculate the distance between the center of the disk and the data point, it would give me a value for R then W and this is the data point multiplied by the specific R value?
Regards, Jar
& gt; Pdist ([31,43; 50,50]) ans = 20.2485
Comments
Post a Comment