[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #30380] Incorrect plotting of a Uint8 variable
From: |
David Bateman |
Subject: |
[Octave-bug-tracker] [bug #30380] Incorrect plotting of a Uint8 variable |
Date: |
Wed, 07 Jul 2010 18:48:01 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.14) Gecko/2009091010 Iceweasel/3.0.14 (Debian-3.0.14-1) |
Update of bug #30380 (project octave):
Status: None => Invalid
Assigned to: None => dbateman
_______________________________________________________
Follow-up Comment #1:
The uint8 type can represent values from 0 to 255. So
a=uint8(1:400)
is the same as
a=uint([1:255,255*ones(1,144)])
given that the integer types in octave saturates rather than overflow, which
explains the plot.
D.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?30380>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/