| LTPDA Toolbox™ | contents | ![]() |
Transfer functions can be expressed as a quocient of polynomials
The constructor can be used in different ways
The standard way is to input the coefficients of your filter. The constructor accepts as a optional properties the name
>> par = parfrac([1 2+1i 2-1i], [6 1+3i 1-3i], [])
---- parfrac 1 ----
model: None
res: [1;2+i*1;2-i*1]
poles: [6;1+i*3;1-i*3]
dir: 0
pmul: [1;1;1]
iunits: []
ounits: []
-------------------
>> par = parfrac('datafile.xml')
>> rat = parfrac('datafile.mat')
>> pl = plist('iunits','m','ounits','V','res',[1 2+1i 2-1i],'poles',[6 1+3i 1-3i],...
'name','filter_mame');
>> par = parfrac(pl)
---- parfrac 1 ----
model: filter_mame
res: [1;2+i*1;2-i*1]
poles: [6;1+i*3;1-i*3]
dir: 0
pmul: [1;1;1]
iunits: [m]
ounits: [V]
-------------------
>> rat = rational('Hostname','localhost','Database','ltpda',...
'ID',[],'CID',[],'Binary',yes)
|
Model helper GUI | Rational representation | ![]() |
©LTP Team