# # Copyright 2022 Philipp Schönberger - mail@phschoen.de # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # See . function dist=euklid_dist(a,b) v=abs(a-b); dist = sqrt(sum(v.*v)); end