Changes at function angleV.m
intracranial electrodes localization toolbox
Brought to you by:
blenkmann
The function calculates the angle between 2 vector with same length. I change a little the code for working with same and different dimmensions. I don't know if can be useful for calculating angles between vectors which are in different dimmensions(one vector can be at 2d and the another at 3d ) but i give you the code.