[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug when dividing a scalar by a vector?
From: |
Sebastian Schöps |
Subject: |
Bug when dividing a scalar by a vector? |
Date: |
Thu, 12 Jan 2017 07:08:59 -0800 (PST) |
While "1/[1 1 1 1]" does not work in Octave nor Matlab "1/[1;1;1;1]" does
work in both. However, they disagree. Octave thinks
0.25000 0.25000 0.25000 0.25000
but Matlab says
1 0 0 0
Is that a bug? What would one expect?
Sebastian
--
View this message in context:
http://octave.1599824.n4.nabble.com/Bug-when-dividing-a-scalar-by-a-vector-tp4681411.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.
- Bug when dividing a scalar by a vector?,
Sebastian Schöps <=
- Re: Bug when dividing a scalar by a vector?, Montgomery-Smith, Stephen, 2017/01/12
- Re: Bug when dividing a scalar by a vector?, Sebastian Schöps, 2017/01/12
- Re: Bug when dividing a scalar by a vector?, John W. Eaton, 2017/01/12
- Re: Bug when dividing a scalar by a vector?, Marco Caliari, 2017/01/12
- Re: Bug when dividing a scalar by a vector?, Sebastian Schöps, 2017/01/12
- Re: Bug when dividing a scalar by a vector?, Mike Miller, 2017/01/12
- Re: Bug when dividing a scalar by a vector?, Sebastian Schöps, 2017/01/12
- Re: Bug when dividing a scalar by a vector?, Ben Abbott, 2017/01/12