[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #30725] diff(logical(x)) fails, should return
From: |
Alois Schlögl |
Subject: |
[Octave-bug-tracker] [bug #30725] diff(logical(x)) fails, should return diff(double(logical(x))) |
Date: |
Tue, 10 Aug 2010 08:13:22 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100723 Ubuntu/10.04 (lucid) Firefox/3.6.8 |
URL:
<http://savannah.gnu.org/bugs/?30725>
Summary: diff(logical(x)) fails, should return
diff(double(logical(x)))
Project: GNU Octave
Submitted by: schloegl
Submitted on: Tue 10 Aug 2010 08:13:21 AM GMT
Category: None
Severity: 3 - Normal
Item Group: Feature Request
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: GNU/Linux
_______________________________________________________
Details:
diff(logical(..)) fails
octave:1> x=1:5;y=diff(x==3),class(y)
error: diff: X must be numeric
matlab provides this result:
>> x=1:5;y=diff(x==3),class(y)
y =
0 1 -1 0
ans =
double
Alois
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?30725>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #30725] diff(logical(x)) fails, should return diff(double(logical(x))),
Alois Schlögl <=