[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #39370] contourc example is incorrect
From: |
Ben Abbott |
Subject: |
[Octave-bug-tracker] [bug #39370] contourc example is incorrect |
Date: |
Sun, 30 Jun 2013 09:30:20 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36 |
URL:
<http://savannah.gnu.org/bugs/?39370>
Summary: contourc example is incorrect
Project: GNU Octave
Submitted by: bpabbott
Submitted on: Sun 30 Jun 2013 05:30:19 AM EDT
Category: Documentation
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Documentation
Status: None
Assigned to: None
Originator Name: Ben Abbott
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
"help contourc" displays the example below.
x = 0:2;
y = x;
z = x' * y;
contourc (x, y, z, 2:3)
=> 2.0000 2.0000 1.0000 3.0000 1.5000 2.0000
2.0000 1.0000 2.0000 2.0000 2.0000 1.5000
The sources produce this result.
a = contourc (x, y, z, 2:3)
a =
2.0000 1.0000 1.0000 2.0000 2.0000 3.0000 1.5000 2.0000
4.0000 2.0000 2.0000 1.0000 1.0000 2.0000 2.0000 1.5000
Matlab doesn't match either result.
ans =
2.0000 1.0000 2.0000 3.0000 1.5000 2.0000
2.0000 2.0000 1.0000 2.0000 2.0000 1.5000
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?39370>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #39370] contourc example is incorrect,
Ben Abbott <=