Fast function to save a matrix
- Downloads:
- Views:
- Rating:

write_matrix_bin(f,m) saves the matrix "m" in a binary
file "f". write_matrix_bin is a lot faster than the built in function save(), and
takes up much less diskspace than the old "save -v6" which doesn't use compression.
write_matrix_bin also includes an option for compression with dzip
(http://www.mathworks.com/matlabcentral/fileexchange/8899). However, this
is only for convenience, and not because it's superior than the built in save()
Limitations: Think before you use write_matrix_bin() instead of save().
* Since write_matrix_bin() as default saves values as float32 it will approximate your data.
* you can't save a large matrix with compression turned on. java will urn of out heap space. This is a problem with dzip.
Here's a real life example (8000000 bytes = 7.6MB):
>> whos data_matrix
Name Size Bytes Class Attributes
data_matrix 100x100x100 8000000 double
Writing data to the disk
write_matrix_bin('write.compressed.test', data_matrix, 'compress', 1) => 0.509179 seconds. Filesize: 884K
save('write.save.test', 'data_matrix') => 0.582949 seconds. Filesize: 996K
write_matrix_bin('write.uncompressed.test', data_matrix) => 0.082440 seconds. Filesize: 3.9M
save -v6 'write.savev6.test' 'data_matrix' => 0.292839 seconds. Filesize: 7.7M
Reading data from the disk
read_matrix_bin('write.compressed.test', 'compress', 1) => 0.349878 seconds.
read_matrix_bin('write.uncompressed.test') => 0.103816 seconds.
load('write.save.test') % the compressed file => 0.088620 seconds.
load('write.savev6.test') % the uncompressed file => 0.061182 seconds.
Free download from Shareware Connection - write_matrix_bin(f,m) saves the matrix "m" in a binary file "f". write_matrix_bin is a lot faster than the built in function save(), and takes up much less diskspace than the old "save -v6" which doesn't use compression.
Version: 1.0 | Size: 10 KB | Platform: Matlab, Scripts
Released Date: 09-01-2013 | Rating: 0 | Title: Fast function to save a matrix
Author Url: http://www.mathworks.com
Program Info Url: http://www.mathworks.com
Download Url: http://www.mathworks.com/matlabcentral/fx_files/24483/1/write_matrix_bin.zip
SimpleTest
WordPress Auto Poster Plugin
Professional Simulink Audio Equalizer
PHP Print / Echo
Ends Smart Form
Output buffering, and how it can change your life
ScriptCase - PHP Code Generator
Advanced Istaller for Java
Wind Turbine Model
FORMfields - The PHP Framework
C to C++ Converter
C++ Compiler
RTFGen - the PHP RTF generator
Cumulative Mann-Kendall trend test
Affiliate Programs
Animation
Auctions
Audio Systems
Banner Rotation
Blog
Bulletin Boards & Forums
Business & Enterprise
Buttons
Calendars & Events
Charts & Graphs
Chat
Classified Ad Managers
Communication
Java Save File Binary
Java Save Binary File Array
Classic Asp How Save Binary File
Ms Sql Save Results Binary File
Java Mysql Save Binary File
The Check Writing Partner - The Check Writng Partner has been specifically designed for the administration of your business or personal checkbook. Its primary goal is to facilitate the function of check writing while maintaining your checkbook's balance.
On-The-Fly Definition of Custom Matrix Objects - This submission defines a generic class of matrix-like objects called MatrixObj and a subclass called DataObj
DiskGetor Data Recovery Free - Free data recovery software help recover deleted ( word, excel , photo, dwg ,cad,office ppt ,video , zip important data) files from hard drive Recycle Bin, or recover deleted files with shift+del
Act On File - Act On File is an all in one software solution for work with files and folders. It is used to authenticate, encrypt, compress, truly destroy, locate and find, backup and restore, join and split, and act on the attributes of files and data, and a TV.
C-MEX file example for 'float' data types - If you have a C function with arguments that are float or pointer to float (rather than double or pointer to double) you can call the function from MATLAB and pass arguments to the function as single data types.
Shareware Connection periodically updates pricing and software information of 'Fast function to save a matrix' from company source 'Arvid Bottiger' , so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using 'Fast function to save a matrix' crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Fast function to save a matrix.
KeePass Password Safe - Using password becomes mandatory for performing various online operations, at both home and workplace. For accessing email accounts, shopping online, making banking transactions and similar tasks it is necessary to use user ids and passwords ...
Norton Identity Safe - Symantec has been one of the most popular and major players in computer security solution for years. Its cutting edge system security products usually come with data security features. However, with its Identity Safe, the company has given users ...
SiSoftware Sandra Lite - People use computers for various needs, including work, entertainment and information seeking. However, a majority of PC users do not bother much about intricate details of their PC’s hardware parts. A section of users are particular about ...
Skitch - Skitch is a user friendly and lightweight image capturing app for OS X that has been in the scene for quite some time. After its purchase by Evernote, the nifty Mac screen-capture tool has undergone some changes. You can still perform tasks with ...
Format Factory - No matter what reason you use the computer mostly for, converting media files from one format to another can be necessary sometimes. This can be useful when you want to convert all those series of DVDs into formats that can be played across ...
CherryPlayer - When you want to watch movies, online videos or listen to music tracks, using a suitable application is required. There is no hard and fast rule that you have to stick to Windows default media player software for such needs. There are plenty of ...
FortiClient Standard - Every computer user needs to have adequate protection for his system and this holds true for corporate and network users. In business setups, where multiple desktops and servers are connected to a network, using regular antivirus suite may be ...
Paint.NET - Nearly every PC user needs to use some type of image editing software nowadays, whether it is for personal or professional reasons. It can be for making minor corrections to your vacation pictures before you share them on social media sites. It ...
UltraMixer Free Edition - Sound Mixing and is a sought after profession and creating your own mix is considered to be pretty cool. With Sound Mixing profession, also known as DJing, comes the need of certain software programs which help hugely while in this profession. ...
HandBrake - Nearly every PC user gets into a situation when they fail to understand what to do with a DVD that will not play back on DVD player or PC owing to format restrictions. Some users may also feel irked about a video file downloaded from web refusing ...