[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #33292] trapz on matrices does not allow a vec
From: |
Juan Pablo Carbajal |
Subject: |
[Octave-bug-tracker] [bug #33292] trapz on matrices does not allow a vector as first argument |
Date: |
Thu, 3 Aug 2017 06:58:36 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.78 Safari/537.36 |
Follow-up Comment #7, bug #33292 (project octave):
This bug is still in 4.2.1
x = -3:.1:3;
y = -5:.1:5;
[X,Y] = meshgrid (x, y);
F = X.^2 + Y.^2;
trapz (y, trapz (x, F, 2))
produces
error: trapz: X and Y must have same shape
error: called from
trapz at line 120 column 9
Should be: Matlab incompatibility.
Can anyone check that the patch is still valid?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?33292>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #33292] trapz on matrices does not allow a vector as first argument,
Juan Pablo Carbajal <=