Share Pastebin
Guest
Public paste!

Untitled

By: a guest | Feb 4th, 2010 | Syntax: None | Size: 0.07 KB | Hits: 63 | Expires: Never
Copy text to clipboard
  1. function [] = euclideandistance(p1,p2)
  2.  
  3. sqrt(sum((p1 - p2)^2))
  4.  
  5. end