octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Audio playback and classes


From: Vytautas Jancauskas
Subject: Re: Audio playback and classes
Date: Tue, 2 Jul 2013 00:25:58 +0300

On Tue, Jul 2, 2013 at 12:24 AM, Vytautas Jancauskas <address@hidden> wrote:
>> Maybe I misunderstood your question, but octave supports intXX and uintXX
>> types and you can get that type through the "class" function, like the
>> following:
>>
>> octave-cli:2> class(int8(rand(1,10)*256))
>> ans = int8
>>
>> Michael.
>>
>
> Maybe I am doing something wrong, but y.is_int8_value() fails if y is
> an octave_value that was created with int8(something) in octave.

Ok, my bad :) I forgot I used matrix_value() on that and forgot to change it.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]