Le dimanche 14 août 2011 à 12:43 -0500, a...@ajackson.org a écrit : > I'm translating some code from Matlab to numpy, and struggling a bit > since I have very little knowledge of Matlab. > > My question is this - the arg function in Matlab (which seems to be > deprecated, > they don't show it in their current documentation) is exactly equivalent to > what in Numpy? I know it is angle(x, deg=1) to get degrees instead of radians, > but what is the output range for the Matlab function -pi to pi, or 0 to 2*pi ?
Can you tell from which toolbox your arg function comes from ? Using help (or which ?) for instance... It could help! -- Fabrice _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion