Prev: plot as a gif
Next: R2010b Prerelease is Live
From: michael on 7 Jun 2010 15:14 hi i have the following code: filter = fdesign.bandpass(.4,.48,.52,.60,80,1,80); BandPassFilt = design(filter, 'equiripple'); C=filter(BandPassFilt,smps); but i get error: ??? Error using ==> subsindex Function 'subsindex' is not defined for values of class 'dfilt.dffir'. what's the problem?
From: Frantz Bouchereau on 7 Jun 2010 15:28 Hi Michael, Do not assign your filter design output to a variable called 'filter' because that creates a conflict with the filter function. This works fine: >> f = fdesign.bandpass(.4,.48,.52,.60,80,1,80); >> BandPassFilt = design(f, 'equiripple'); >> C = filter(BandPassFilt,randn(10,1)) HTH Frantz "michael" <bezenchu(a)gmail.com> wrote in message news:hujgec$l0m$1(a)fred.mathworks.com... > hi > i have the following code: > > filter = fdesign.bandpass(.4,.48,.52,.60,80,1,80); > BandPassFilt = design(filter, 'equiripple'); > C=filter(BandPassFilt,smps); > > but i get error: > ??? Error using ==> subsindex > Function 'subsindex' is not defined for values of class > 'dfilt.dffir'. > > > what's the problem?
|
Pages: 1 Prev: plot as a gif Next: R2010b Prerelease is Live |