f(l) yl=xl+x2; l--error " undefined variable x2 at line 2 of function f Here x2 is referred to but was not defined in the calling list. The attempt at execution produces an error. 2) y2 • 3. yl • 1. In some cases it is of use to be able to create functions that can accept an unknown number of input arguments or return an unknown number of output arguments. For that you can use the keywords varargin for input and varargout for output.

Download PDF sample

Engineering and Scientific Computing with Scilab by Claude Gomez, C. Bunks, J.-P. Chancelier, F. Delebecque, M. Goursat, R. Nikoukhah, S. Steer


by William
4.1

Download e-book for kindle: Engineering and Scientific Computing with Scilab by Claude Gomez, C. Bunks, J.-P. Chancelier, F. Delebecque, M.
Rated 4.39 of 5 – based on 32 votes
[an error occurred while processing the directive]