Lower level file i/o functions, MATLAB in Statistics

Lower Level File I/O Functions:

Whenever reading from data file, as long as the data in the file is "regular" the load function works-in another words, the similar type of data on every line and in the similar format on every line-therefore it can be read into a matrix.

Though, data files are not always set up in this manner. Whenever it is not possible to use the load, MATLAB has what are known as lower level file input functions which can be used. The file should be opened first, that involves finding or creating the file and positioning an indicator at the starting of the file. Whenever reading has been done, the file should be closed.

Likewise, the save function can write matrices to the file, but when the output is not a simple matrix there are lower level functions to write to files. The file once again should be opened first and closed when the writing has been done.

 

 

Posted Date: 10/20/2012 6:16:05 AM | Location : United States







Related Discussions:- Lower level file i/o functions, Assignment Help, Ask Question on Lower level file i/o functions, Get Answer, Expert's Help, Lower level file i/o functions Discussions

Write discussion on Lower level file i/o functions
Your posts are moderated
Related Questions
Tracing: Sometimes, when a program has loops and/or selection statements and is not running properly, it is helpful in the debugging process to know exactly which statements h

Index vector: The index vector is then used as the indices for original vector. To get grades vector in ascending order, the indices used would be grades (2), grades (5), and

Example of Functions which return values: Calling this function prints the circumference, since there is no way to store the value, hence, it can be used in following computat

Sequential Search: A sequential search is completed by looping through the vector element-by-element starting from the beginning, looking for the key. Usually the index of the

Debugging Techniques: Any error in the computer program is called a bug. This word is thought to date back to the 1940s, whenever a problem with an early computer was found to

Illustration of Median When the vector is not in sorted order to start with, the median function will still return the right answer (it will sort the vector automatically). For

Variable packages: Variable packages are now the vector of structures, hence each and every element in the vector is a structure. To show one element in the vector, an index i

Functions which return Values versus printing: Also, the function which computes and returns values (throughout the output arguments) does not generally print them; that is le

bjjh

Run-time or execution-time error: The Run-time, or execution-time, errors are found whenever a script or function is executing. With most of the languages, an illustration of