This Challenge is a subsection of Martian Pranks based on Tim's efficient Distance calculation between sets of points.
Given Point Set vectors Start and Final determine the distance between each Start and each Final Point.
Input: Start(m,2), Final(m,2)
Output: Distances (m,m)
Example:
Input: [0 0;0 1], [2 0;3 3]
Output: [2 4.24; 2.24 3.61]
TestSuite will perform rounding
Hint: Tags
214 Solvers
75 Solvers
Unique values without using UNIQUE function
115 Solvers
Rank of magic square (for beginners)
34 Solvers
first step for Huffman Coding (easy)
30 Solvers
Solution 175796
Encyclopedic knowledge of all functions and their nuances - nice.
How would you achieve this task if you were part of the 99% that do not have the Neural Network Toolbox?
Haha, I actually learnt about dist from Alfonso's previous Cody submissions, and I figured out the usage using the MATLAB documentation.