octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Matlab reshape behavior


From: John W. Eaton
Subject: Re: Matlab reshape behavior
Date: Mon, 11 Nov 2013 14:42:42 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12

On 11/11/2013 01:53 PM, Rik wrote:
11/11/13

Could someone verify what Matlab does with a single input to reshape?

--- Code ---
x = 1:3;
y = reshape (x, 3)
--- End Code ---

Octave running on Linux expands the the '3' to '3x1', but Octave running on
MinGW interprets '3' to be '3x0'.

Why is there a system dependency in this behavior? That should definitely not be happening.

jwe



reply via email to

[Prev in Thread] Current Thread [Next in Thread]