About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
See full specifications

scripts default iconVVAR class: a fast "virtual" variable class for MATLAB. (Scripts) Publisher's description

VVAR uses a pre-existing "scratch" file to store variables

VVAR uses a pre-existing "scratch" file to store variables and can be used to pre-allocate a huge array much faster than using zeros. On a MacBook Pro with 64 bit MATLAB and 4Gb RAM, creating an 8Gb double array with VVAR was 100x faster than using zeros (1.24s vs 122.3s).

Upper limits on array size are system and MATLAB version dependent. See the MATLAB documenation.

Note that speed improvements are seen only when the array is too large for the available memory and forces virtual memory use.

With some caveats, VVAR instances can be used in much the same way as MATLAB primitive array types, e.g.
% x curently contains garbage (not zeros) so
%... fill x with data ...
% Then filter each column e.g.:
for k=1:size(x,2)
x(:,k)=filtfilt(b, a, x(:,k));

A VVAR instance is simply a wrapper for the standard MATLAB memmapfile class that uses "nakhur" techniques to trick MATLAB into believing the VVAR instance is a MATLAB numeric matrix. This is achieved by having standard MATLAB methods return non-standard results. Effectively, the VVAR class instance pretends to be the primitive data that it represents so that the methods return results relevant to the contents of the instance not the instance itself e.g. with the instance above, isreal(x) returns true while size(x) returns [10000,10000]. Numel is not overloaded so numel(x) returns 1.

VVAR supports the full range of indexing options: subreferencing, linear and logical indexing etc.

Part of Project Waterloo from King's College London - see http://sigtool.sourceforge.net/

System Requirements:

MATLAB 7.6 (R2008a)
Program Release Status: New Release
Program Install Support: Install and Uninstall

VVAR class: a fast "virtual" variable class for MATLAB. (Scripts) Tags:

Click on a tag to find related softwares

Is VVAR class: a fast "virtual" variable class for MATLAB. (Scripts) your software?

Manage your software

Most Popular

scripts default icon ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation 1.1
ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation contain several functions for digital modulation simulation
scripts default icon Simulink Communication Labs 1.1
Simulink Communication Labs allows you to learn communication systems in greater depth.
scripts default icon M-QAM modulation and demodulation 1.1
M-QAM modulation and demodulation is the QAM modulation and demodulation tech.
scripts default icon LZW Compression/Decompression 1.1
LZW Compression/Decompression - Updated LZW compressor and decompressor with reasonable performance
scripts default icon InSPIRE utility to plot a 2D displacement field (Scripts) 1.0
This program plots the deformation field (displace vectors) contained in vector.txt.