
I believe there is an error on this wiki page:
http://www.scipy.org/NumPy_for_Matlab_Users
MATLAB y=x(2,:) PYTHON y = x[2,:].copy()
shouldn't the Python version be: y = x[1,:].copy()
If not, please advise.
Thanks, Grant

Wed, 20 May 2009 12:08:46 -0700, Grant Kelly wrote:
I believe there is an error on this wiki page:
http://www.scipy.org/NumPy_for_Matlab_Users
MATLAB y=x(2,:) PYTHON y = x[2,:].copy()
shouldn't the Python version be: y = x[1,:].copy()
If not, please advise.
Yes, it should be x[1,:].copy(). Please feel free to correct it.

It's an immutable page. Can someone who already has access make the edit?
On Wed, May 20, 2009 at 2:36 PM, Pauli Virtanen pav@iki.fi wrote:
Wed, 20 May 2009 12:08:46 -0700, Grant Kelly wrote:
I believe there is an error on this wiki page:
http://www.scipy.org/NumPy_for_Matlab_Users
MATLAB y=x(2,:) PYTHON y = x[2,:].copy()
shouldn't the Python version be: y = x[1,:].copy()
If not, please advise.
Yes, it should be x[1,:].copy(). Please feel free to correct it.
-- Pauli Virtanen
Numpy-discussion mailing list Numpy-discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
participants (2)
-
Grant Kelly
-
Pauli Virtanen