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. |
Example |
---|
plist('NAME', '', 'DESCRIPTION', '') |
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. |
ltpda_uo.buildplist | |||
FILENAME | '' | none | MAT filename. |
Example |
---|
plist('NAME', '', 'DESCRIPTION', '', 'FILENAME', '') |
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. |
ltpda_uo.buildplist | |||
FILENAME | '' | none | XML filename. |
Example |
---|
plist('NAME', '', 'DESCRIPTION', '', 'FILENAME', '') |
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. |
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', '', 'HOSTNAME', '', 'DATABASE', '', 'USERNAME', '', 'PASSWORD', cell(0,0), 'CONN', [[]], 'ID', [[]], 'CID', [[]], 'UUID', cell(0,0), 'BINARY', [true]) |
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. |
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', '', 'BUILT-IN', '', 'VERSION', [[]]) |
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. |
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', '', 'RATIONAL', rational([plist('NAME', '', 'DESCRIPTION', '')]), 'IUNITS', '', 'OUNITS', '') |
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. |
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', '', 'PZMODEL', [pzmodel()], 'IUNITS', '', 'OUNITS', '') |
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. |
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', '', 'RES', [[]], 'POLES', [[]], 'DIR', [0], 'IUNITS', '', 'OUNITS', '') |
Some information of the method parfrac/parfrac are listed below: | |
---|---|
Class name | parfrac |
Method name | parfrac |
Category | Constructor |
Package name | ltpda |
VCS Version | 967b0eec0dece803a81af8ef54ad2f8c784b20b2 |
Min input args | 0 |
Max input args | -1 |
Min output args | 1 |
Max output args | 1 |
Can be used as modifier | 0 |
Supported numeric types | {'double'} |
![]() |
Method: miir/retrieve | Method: parfrac/rebuild | ![]() |
©LTP Team