ENG EK 127 Final: EK127 Exam 3 Ref Sheet

171 views2 pages

Document Summary

& func bod are similar to other funcs, except that the bod is just 1 expression. The @ returns handle of the func, which is a way of reffering to the func, var on l of assignment stores the fh. Used to store groups of related af handle variables in a . mat. Advantage of afs: don(cid:495)t have to store them in an m-file. If no inargs, you still have to have empty ( ) in the func def & func call. Func handles can be created & used for any kind of func. The only way an af can be called & gives an alt way to call other types of funcs. fnhanvar = @fnname calling fhs: fnhanvar(inargs) Function functions: a func that recieves any fh as an argument. Calling ffs: 1) create fh: fh for a udf >>fnha = @myfin, fh for an af >>fnhb = @(x) x. ^2-3, fh for a bif >>fnhc = @cos;.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers

Related Documents