Be the first to rate this file! 118 downloads (last 30 days) File Size: 14.58 KB File ID: #11097

adcarray

by Malcolm Lidierth

 

16 May 2006 (Updated 22 Sep 2009)

Code covered by BSD License  

MATLAB class to allow large data sets to me memory mapped from disc (including from MAT-files)

Download Now | Watch this File

File Information
Description

An ADCARRAY object usually contains a memmapfile object, together with a scale and offset to convert the values stored on disc (and pointed to by the memmapfile object) to real world numbers which are returned as double precision. These can also be transformed by a function pointed to by a handle stored in the ADCARRAY object. Referencing an ADCARRAY object as though it were a double precision array e.g. using obj(), obj(:), obj(1:10), obj(2,1:5,10:end) etc, returns a scaled, offset and transformed double precision array regardless of the native format of the data in the memmapfile object. These can be passed as input arguments to other MATLAB functions e.g. s=sum(obj()). Also, the memmapfile object can be replaced by a structure.

MATLAB release MATLAB 7.2 (R2006a)
Other requirements Platform-independent
Zip File Content  
Other Files
@adcarray/adcarray.m,
@adcarray/display.m,
@adcarray/double.m,
@adcarray/end.m,
@adcarray/get.m,
@adcarray/horzcat.m,
@adcarray/isreal.m,
@adcarray/length.m,
@adcarray/set.m,
@adcarray/size.m,
@adcarray/subsasgn.m,
@adcarray/subsref.m,
@adcarray/vertcat.m,
license.txt
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
17 May 2006

Summary was incomplete sentence

06 Dec 2006

Now supports endian-bytes swapping.
Func may now be a cell array.

14 Feb 2007

Overloaded isreal function added
Change to the way obj(:) syntax is handled for vectors

27 Sep 2007

Subsref speed improved. Documentation improved.

22 Sep 2009

Cumulative minor updates

Tag Activity for this File
Tag Applied By Date/Time
dsp Malcolm Lidierth 22 Oct 2008 08:25:43
adc memmapfile Malcolm Lidierth 22 Oct 2008 08:25:43
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com