LTPDA Toolbox | contents | ![]() ![]() |
Parameter objects are used in the LTPDA Toolbox to configure the behaviour of algorithms. A parameter (param) object has two main properties:
Parameter values can take any form: vectors or matrices of numbers; strings; other objects, for example a specwin (spectral window) object.
Parameters are created using the param class constructor. The following code shows how to create a parameter 'a' with a value of 1
>> p = param('a', 1)
---- param 1 ----
key: a
val: 1
-----------------
The contents of a parmeter object can be accessed as follows:
>> key = p.key; % get the parameter key >> val = p.val; % get the parameter value
![]() |
Parameter Lists | Creating lists of Parameters | ![]() |
©LTP Team