deg2rad (x)....... transposes from degrees to radians
result = mod((x/360)*2*pi,2*pi)
eucdist (X1,X2,Y1,Y2)....... 2D Euclidean distances btw. 2 sets of points
Calculates a distance matrix M between two sets of points described by their x and y coordinates.
gauss (x,mu,sigma)....... gauss function output
(1/(sigma*(sqrt(2*pi))))*exp(-((x-mu).^2)./(2*sigma*sigma))
rad2deg (x)....... transposes from radians to degrees
result = mod((x/(2*pi))*360,360)
rotation_matrix (degx,degy,degz,hand)....... calculates rotation matrix for given angles
treats the different rotations in order x then y then z.
In other words it's the rotation_matrix R = Rz*Ry*Rx. Degrees of rotation are given in radians.
roundshow....... a 3D round show of a plot
a 3D round show, simply changes the view in regular intervals.
scalebar (unit,pos)....... add a scalebar to a plot
shine....... add some effects on current axis
polishes the graphical output.
By default simply adds a camera light (therefore the name "shine"),
which typically sets the figure renderer to opengl as a side effect.
tprint....... simplified printing
prints the current figure to a file.
gifmaker....... make a movie with transparent background
appends frames one by one to a movie.
This work is licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 3.0 License