Mercurial > hg > ltpda
view m-toolbox/test/test_convert_pzmodel_parfrac.m @ 46:ca0b8d4dcdb6 database-connection-manager
Fix
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Tue, 06 Dec 2011 19:07:27 +0100 |
parents | f0afece42f48 |
children |
line wrap: on
line source
mc %% start from pzmodel pzm = pzmodel(1, {[1 2], 10}, [3 2]) pzm.setName; %% Convert to partial fractions pf = parfrac(pzm) %% Convert back again %% Check resp pzmr = resp(pzm); pfr = resp(pf); iplot(pzmr, pfr) %% Make a filter pfilt = miir(pzm) filts = miir(pf) fr = resp(filts)