Рет қаралды 46,714
In this video, I show how to work with Matlab functions either as "anonymous" functions (or "inline" functions), functions in separate function files, or functions organized into a static Matlab class.
In our course, we are only going to use classes as a convenient way of organizing functions so that they are all in the same file together with other related functions. This is for example going to be convenient when we lump together the functions for simulating data, getting starting values, evaluating the criterion function (e.g. likelihood function), or estimating a particular estimator.