[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #49506] interp2(..., 'linear') gives incorrect
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #49506] interp2(..., 'linear') gives incorrect result |
Date: |
Tue, 1 Nov 2016 21:38:08 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 |
Follow-up Comment #2, bug #49506 (project octave):
The problem is in the final line of the "linear" method.
## apply plane equation
ZI = a(idx) + b(idx).*Xsc + c(idx).*Ysc + d(idx).*Xsc.*Ysc;
At this point the factors a, b, c, d are all column vectors (2x1), while Xsc
and Ysc are row vectors (1x2). The multiplication steps broadcast
automatically to create 2x2 final matrices.
I don't know what the best way to resolve this is.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?49506>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #49506] interp2(..., 'linear') gives incorrect result, Muhali, 2016/11/01
- [Octave-bug-tracker] [bug #49506] interp2(..., 'linear') gives incorrect result, Rik, 2016/11/01
- [Octave-bug-tracker] [bug #49506] interp2(..., 'linear') gives incorrect result,
Rik <=
- [Octave-bug-tracker] [bug #49506] interp2(..., 'linear') gives incorrect result, Nir Krakauer, 2016/11/02
- [Octave-bug-tracker] [bug #49506] interp2(..., 'linear') gives incorrect result, Rik, 2016/11/02
- [Octave-bug-tracker] [bug #49506] interp2(..., 'linear') gives incorrect result, Rik, 2016/11/05
- [Octave-bug-tracker] [bug #49506] interp2(..., 'linear') gives incorrect result, Nir Krakauer, 2016/11/06
- [Octave-bug-tracker] [bug #49506] interp2(..., 'linear') gives incorrect result, Rik, 2016/11/06