| LTPDA Toolbox™ | contents | ![]() |
PARFRAC partial fraction representation of a transfer function. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% DESCRIPTION: PARFRAC partial fraction representation of a transfer function. R(1) R(2) R(n) H(s) = -------- + -------- + ... + -------- + K(s) s - P(1) s - P(2) s - P(n) SUPER CLASSES: ltpda_tf < ltpda_uoh < ltpda_uo < ltpda_obj CONSTRUCTOR: r = parfrac() - creates an empty parfrac object r = parfrac(res, poles, dir) - construct from residuals, poles and direct terms r = parfrac(..., 'name') - construct including name r = parfrac(..., iunits, ounits) - include input and output units r = parfrac(pl) - create a parfrac object from the description given in the parameter list. r = parfrac(pzm) - create a parfrac from a pzmodel. r = parfrac(rat) - create a parfrac from a rational TF. The poles can be specified in a array or a cell as a real or complex number. Example: r = parfrac([1 2+1i 2-1i], [6 1+3i 1-3i], []); Parameters Description %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
| Method Details | |
|---|---|
| Access | public |
| Defining Class | parfrac |
| Sealed | 0 |
| Static | 0 |
| Sets for this method … |
|---|
| Default |
| From MAT File |
| From XML File |
| From Repository |
| From Built-in Model |
| From Rational |
| From Pzmodel |
| From Residuals/Poles/Direct |
Default |
|||
|---|---|---|---|
| no description | |||
| Key | Default Value | Options | Description |
| ltpda_uoh.addGlobalKeys | |||
| NAME | '' | none | The name of the constructed object. |
| DESCRIPTION | '' | none | The description of the constructed object. |
| TIMESPAN | [] | none | Give a timespan for the object. |
| CALLERISMETHOD | [] | none | Allow an override of the caller is method feature. |
Example |
|---|
| plist('NAME', '', 'DESCRIPTION', '', 'TIMESPAN', [[]], 'CALLERISMETHOD', [[]]) |
back to top
From MAT File |
|||
|---|---|---|---|
| no description | |||
| Key | Default Value | Options | Description |
| ltpda_uoh.addGlobalKeys | |||
| NAME | '' | none | The name of the constructed object. |
| DESCRIPTION | '' | none | The description of the constructed object. |
| TIMESPAN | [] | none | Give a timespan for the object. |
| CALLERISMETHOD | [] | none | Allow an override of the caller is method feature. |
| ltpda_uo.buildplist | |||
| FILENAME | '' | none | MAT filename. |
Example |
|---|
| plist('NAME', '', 'DESCRIPTION', '', 'TIMESPAN', [[]], 'CALLERISMETHOD', [[]], 'FILENAME', '') |
back to top
From XML File |
|||
|---|---|---|---|
| no description | |||
| Key | Default Value | Options | Description |
| ltpda_uoh.addGlobalKeys | |||
| NAME | '' | none | The name of the constructed object. |
| DESCRIPTION | '' | none | The description of the constructed object. |
| TIMESPAN | [] | none | Give a timespan for the object. |
| CALLERISMETHOD | [] | none | Allow an override of the caller is method feature. |
| ltpda_uo.buildplist | |||
| FILENAME | '' | none | XML filename. |
Example |
|---|
| plist('NAME', '', 'DESCRIPTION', '', 'TIMESPAN', [[]], 'CALLERISMETHOD', [[]], 'FILENAME', '') |
back to top
From Repository |
|||
|---|---|---|---|
| no description | |||
| Key | Default Value | Options | Description |
| ltpda_uoh.addGlobalKeys | |||
| NAME | '' | none | The name of the constructed object. |
| DESCRIPTION | '' | none | The description of the constructed object. |
| TIMESPAN | [] | none | Give a timespan for the object. |
| CALLERISMETHOD | [] | none | Allow an override of the caller is method feature. |
| ltpda_uo.buildplist | |||
| HOSTNAME | '' | none | Database server hostname. |
| DATABASE | '' | none | Database name. |
| USERNAME | '' | none | User name to use when connecting to the database. Leave blank to be prompted. |
| PASSWORD | {} [0x0] | none | Password to use when connecting to the database. Leave blank to be prompted. |
| CONN | [] | none | Java mysql object. |
| ID, IDS | [] | none | A vector of object IDs. |
| CID | [] | none | A vector of collection IDs. |
| UUID, UUIDS | {} [0x0] | none | A cell array of UUIDs. |
| BINARY | 1 |
|
Use binary representation (not always available). |
Example |
|---|
| plist('NAME', '', 'DESCRIPTION', '', 'TIMESPAN', [[]], 'CALLERISMETHOD', [[]], 'HOSTNAME', '', 'DATABASE', '', 'USERNAME', '', 'PASSWORD', cell(0,0), 'CONN', [[]], 'ID', [[]], 'CID', [[]], 'UUID', cell(0,0), 'BINARY', [true]) |
back to top
From Built-in Model |
|||
|---|---|---|---|
| no description | |||
| Key | Default Value | Options | Description |
| ltpda_uoh.addGlobalKeys | |||
| NAME | '' | none | The name of the constructed object. |
| DESCRIPTION | '' | none | The description of the constructed object. |
| TIMESPAN | [] | none | Give a timespan for the object. |
| CALLERISMETHOD | [] | none | Allow an override of the caller is method feature. |
| ltpda_uo.buildplist | |||
| BUILT-IN | '' | none | Choose one of the built-in models. (use class.getBuiltInModels to get a list for a particular user class) |
| VERSION | [] | none | Version of the built in model. The default version is used for the case that no 'Version' is defined. |
Example |
|---|
| plist('NAME', '', 'DESCRIPTION', '', 'TIMESPAN', [[]], 'CALLERISMETHOD', [[]], 'BUILT-IN', '', 'VERSION', [[]]) |
back to top
From Rational |
|||
|---|---|---|---|
| no description | |||
| Key | Default Value | Options | Description |
| ltpda_uoh.addGlobalKeys | |||
| NAME | '' | none | The name of the constructed object. |
| DESCRIPTION | '' | none | The description of the constructed object. |
| TIMESPAN | [] | none | Give a timespan for the object. |
| CALLERISMETHOD | [] | none | Allow an override of the caller is method feature. |
| parfrac.buildplist | |||
| RATIONAL | rational() | none | Rational transfer-function model object to design from. |
| IUNITS | '' | none | The input units of the model. |
| OUNITS | '' | none | The output units of the model. |
Example |
|---|
| plist('NAME', '', 'DESCRIPTION', '', 'TIMESPAN', [[]], 'CALLERISMETHOD', [[]], 'RATIONAL', rational([plist('NAME', '', 'DESCRIPTION', '', 'TIMESPAN', [], 'CALLERISMETHOD', [])]), 'IUNITS', '', 'OUNITS', '') |
back to top
From Pzmodel |
|||
|---|---|---|---|
| no description | |||
| Key | Default Value | Options | Description |
| ltpda_uoh.addGlobalKeys | |||
| NAME | '' | none | The name of the constructed object. |
| DESCRIPTION | '' | none | The description of the constructed object. |
| TIMESPAN | [] | none | Give a timespan for the object. |
| CALLERISMETHOD | [] | none | Allow an override of the caller is method feature. |
| parfrac.buildplist | |||
| PZMODEL | pzmodel(g:no gain p:no pole z:no zero) | none | Pole/zero model object to design from. |
| IUNITS | '' | none | The input units of the model. |
| OUNITS | '' | none | The output units of the model. |
Example |
|---|
| plist('NAME', '', 'DESCRIPTION', '', 'TIMESPAN', [[]], 'CALLERISMETHOD', [[]], 'PZMODEL', [pzmodel()], 'IUNITS', '', 'OUNITS', '') |
back to top
From Residuals/Poles/Direct |
|||
|---|---|---|---|
| no description | |||
| Key | Default Value | Options | Description |
| ltpda_uoh.addGlobalKeys | |||
| NAME | '' | none | The name of the constructed object. |
| DESCRIPTION | '' | none | The description of the constructed object. |
| TIMESPAN | [] | none | Give a timespan for the object. |
| CALLERISMETHOD | [] | none | Allow an override of the caller is method feature. |
| parfrac.buildplist | |||
| RES | [] | none | Residual terms. |
| POLES | [] | none | Poles (real or complex numbers). |
| DIR | 0 | none | Direct terms. |
| IUNITS | '' | none | The input units of the model. |
| OUNITS | '' | none | The output units of the model. |
Example |
|---|
| plist('NAME', '', 'DESCRIPTION', '', 'TIMESPAN', [[]], 'CALLERISMETHOD', [[]], 'RES', [[]], 'POLES', [[]], 'DIR', [0], 'IUNITS', '', 'OUNITS', '') |
back to top
| Some information of the method parfrac/parfrac are listed below: | |
|---|---|
| Class name | parfrac |
| Method name | parfrac |
| Category | Constructor |
| Package name | ltpda |
| Can be used as modifier | 0 |
| Supported numeric types | {'double'} |
|
Method: miir/retrieve | Method: parfrac/rebuild | ![]() |
©LTP Team