Opening book details…
Can I read Functions on EtoBox?
Functions by Andrew P. King; Paul Aljabar is a book available to read on EtoBox.
What is Functions about?
This chapter introduces the concept of functions in MATLAB. Functions can be used to divide a solution to a complex problem into a number of solutions to simpler sub-problems, which communicate with each other by passing and receiving arguments. Function naming rules and the syntax for function definitions in MATLAB are introduced, and the important difference between function m-files and script m-files is emphasized. It is also shown how input and output arguments for a function can be defined in its prototype. The way in which MATLAB searches for functions in its ‘path’ is described, and it is shown how the path can be modified using MATLAB commands. Variable scope is introduced and the scope of function variables is described. Finally, the concept of recursive functions is introduced, in which a function may make one or more calls to itself.
- Author
- Andrew P. King; Paul Aljabar
- Publisher
- Elsevier
- Published
- 2023
- Language
- EN
More by Andrew P. King; Paul Aljabar
Browse all works by Andrew P. King; Paul Aljabar
Similar books
- Lyapunov Functions — Youssef N. Raffoul (2023)
- One Way Hash Functions and DES — Ralph C. Merkle (1990)
- 3 Meromorphic functions (2022)
- Constructions of Strict Lyapunov Functions (Communications and Control Engineering) — Michael Malisoff, Frédéric Mazenc (2009)
- Nonequilibrium Green’s Functions — Klaus Morawetz (2017)
- Banach Spaces of Analytic Functions — Kenneth M. Hoffman (1988)