/usr/share/psychtoolbox-3/PsychSignal/ATand2.m is in psychtoolbox-3-common 3.0.14.20170103+git6-g605ff5c.dfsg1-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 | function ang = ATand2(y,x)
% ang = ATand2(y,x)
% returns angle from -180 to 180 degrees based on x an y coords
% degree version of atan2
% DN 2008-09-11 wrote it
ang = atan2(y,x)./pi.*180;
|