~~UNDERCONSTRUCTION~~ <texit info> author=Roman Putanowicz backgroundtext=http://www.L5.pk.edu.pl/~putanowr/iten.html title=Lab 7: Solving problems; operating on files showbuttons=off </texit> <texit>\input{/home/prac/putanowr/dokuwiki/data/media/wiki/latex/it_preamb.tex}</texit> <texit>\begin{comment}</texit> prev | up | next <texit>\end{comment}</texit>
Reading and saving variables with load and save commands. Exercising formulation and implementation of algorithms for miscellaneous problems. Partitioning of complex algorithms into several functions.
This lab shows how to do simple I/O operations using load and save commands. However very often one needs much finer control over how the variables are saved or read in. Octave provides input and output functions that mimic most of the functionality that is available in the C programming language's standard I/O library. Mastering those functions as well as understanding the concept of data streams is the proposal for self-study topics: * understanding the concept of input, output and error stream * manipulation of the streams on the shell level: redirection to files and building pipelines * C-style functions for fine grained control over I/O operations.
<texit>\begin{comment}</texit> prev | up | next <texit>\end{comment}</texit>