[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #60492] signal: error in clustersegment
From: |
Geert van Boxtel |
Subject: |
[Octave-bug-tracker] [bug #60492] signal: error in clustersegment |
Date: |
Sat, 1 May 2021 05:23:13 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:88.0) Gecko/20100101 Firefox/88.0 |
URL:
<https://savannah.gnu.org/bugs/?60492>
Summary: signal: error in clustersegment
Project: GNU Octave
Submitted by: geertvanboxtel
Submitted on: Sat 01 May 2021 09:23:11 AM UTC
Category: Octave Forge Package
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Unexpected Error or Warning
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: 5.2.0
Discussion Lock: Any
Operating System: GNU/Linux
_______________________________________________________
Details:
signal v1.4.1
OS: Ubuntu Linux 20.04.2 LTS 64 bit
x = [0, 1.2, 3, -8, 0];
clustersegment(x)
error: clustersegment: =: nonconformant arguments (op1 is 2x1, op2 is 1x3)
error: called from
clustersegment at line 56 column 30
The error disappears when x is a column matrix instead of a row matrix, but
the function then produces the wrong results
>> clustersegment(x')
ans =
{
[1,1] = [](0x0)
[1,2] = [](0x0)
[1,3] = [](0x0)
[1,4] = [](0x0)
[1,5] = [](0x0)
}
Correct result should be
ans =
2
4
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60492>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #60492] signal: error in clustersegment,
Geert van Boxtel <=