help-octave
[Top][All Lists]
Advanced

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

Re: Oct files and single precision float arrays


From: Mike Miller
Subject: Re: Oct files and single precision float arrays
Date: Thu, 16 Jan 2014 10:28:23 -0500

On Thu, Jan 16, 2014 at 22:04:03 -0800, mpender wrote:
> Is there a way to return an array of single precision floating point values
> from an Oct file?  I don't see how to do it with the available Octave types
> (Matrix, NDArray, boolMatrix, etc.), but it seems like there must be a way
> since the built-in single function works and some functions like zero() can
> return single precision values.

Certainly, replace Matrix with FloatMatrix or NDArray with FloatNDArray.

HTH,

-- 
mike


reply via email to

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