Robust Data File Reading utility Matlab script

SPONSORED LINKS

    Specification

  • Version:
  • File size: 0 KB
  • File name: rdfread.m
  • Last update:
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • Language: Matlab
  • Price:Freeware
  • Company: Michael Boldin (View more)

Robust Data File Reading utility script description:




Publisher review:
Robust Data File Reading utility imports data from a comma- or tab-delimitted file. RDFREAD handles comma-delimitted and tab-delimitted files and expects, but does not require the variable (column) names to be in the first line. Data may have missing values and character values mixed in the numeric data columns. All non-numerics in data lines are changed to NaN. This function does not properly read character variable columns, but instead turns such data into an entire column of missing values.If the firstline has no numerics, it is assumed to be a header line with variable names. In this case a structure class is created with the fields name.varnames & name.data. If there is no headerline, a simple data matrix is created.If there is no output argument (nargout=0), the results are put into base memory using filename as name.examples RDFREAD -- no input args, uses GUI file selection (uigetfiles)RDFREAD(1) -- command line versionRDFREAD('file_name','C:data_path') -- works (path is optional)xdat= RDFREAD('file_name') -- results placed in xdat Below is an example of a messy data file that this utilty fucntion can read.SECID,DATE,PRC,X110001,19970131,8.625,110002,1997215,13,10003,,-15,41099a,o.0,.T,NaNxd,,.,1.111999,2,3,6In this case, the RDFREAD 'data' results are 10001 19970131 8.625 110002 1997215 13 NaN10003 NaN -15 4NaN NaN NaN NaNNaN NaN NaN 1.111999 2 3 6and filename.varnames= 'SECID' 'DATE' 'PRC' 'X1'Note that this function is considerably slower than i/o routines such as LOAD and DLMREAD because it reads and parses one line at a time, but it works in a much more robust manner as long as you do not need to read in 'character' columns. Requirements: ยท MATLAB Release: R14SP1
Robust Data File Reading utility is a Matlab script for Scientific/Engineering scripts design by Michael Boldin. It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Robust Data File Reading utility imports data from a comma- or tab-delimitted file.

Operating system:
Windows / Linux / Mac OS / BSD / Solaris

Latest script and internet news

The new Firefox 37 comes with improved HTTP / 2 and superior HMTL5 compatibility with YouTube

The new Firefox 37 comes with improved HTTP / 2 and superior HMTL5 compatibility with YouTube

The popular browser Firefox reached version 37, bringing a series of news but not as significant as other versions.

Posted on: 03 Apr 2015 11:11 by A. Brown

The permanently active Push system offered by the new Google Chrome 42

The permanently active Push system offered by the new Google Chrome 42

Google Chrome version 42 comes with implementation of interesting options for software developers who want to turn their websites into complex Web applications: Push notification system which is permanently active.

Posted on: 17 Mar 2015 07:57 by A. Brown

Gamers, Microsoft presents the advantages of DirectX 12 and 11.3 platforms used by new games for Windows 10

Gamers, Microsoft presents the advantages  of DirectX 12 and 11.3 platforms used by new games for Windows 10

The Windows 10 preview event brought also to the attention of gamers a demonstration of the advantages of the new DirectX 12 API by Microsoft, which announced several technologies providing integration with Xbox One game consoles.

Posted on: 27 Jan 2015 09:15 by A. Brown

Android devices now have access to Google Chrome 40

Android devices now have access to Google Chrome 40

Finally was officially released version 40 of Chrome browser for Android devices, iOS and Windows PCs, coming up with an interesting range of bug fixes and optimizations.

Posted on: 23 Jan 2015 13:57 by A. Brown

SPREAD THE WORD

User Rating


Rating: 1.0 out of 5
Based on 1 ratings. 1 user reviews.

  • Currently 1.00 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5