Giter VIP home page Giter VIP logo

Comments (6)

trettberg avatar trettberg commented on June 19, 2024

By executing the test function for the IIR pre-filter from current master [...] I got the following error [...]

Cannot reproduce.
Test is passed from current master (da8d4c5) with R2012b, R2013a and R2013b, Linux.

from sfs-matlab.

hagenw avatar hagenw commented on June 19, 2024

I still get an error:

>> test_wfs_iir_prefilter
Error using fdesign.arbmag/set
There is no enumerated value named 'Nb,Na,F,A'.

Error in fdesign.abstracttypewspecs/schema>set_specificationtype (line 64)



Error in fdesign.abstracttypewspecs/abstract_setspecs (line 24)
    set(this, 'SpecificationType', varargin{1});

Error in fdesign.abstracttypewspecs/setspecs (line 7)
abstract_setspecs(this, varargin{:});

Error in fdesign.arbmag (line 119)
this.setspecs(varargin{:});

Error in wfs_iir_prefilter (line 137)
d = fdesign.arbmag('Nb,Na,F,A',Nb,Na,F,abs(H)); %we only consider abs, due to the desired minphase design

Error in test_wfs_iir_prefilter (line 54)
hpre1 = wfs_iir_prefilter(conf)

Linux, Matlab 2015a:

>> ver
----------------------------------------------------------------------------------------------------
MATLAB Version: 8.5.0.197613 (R2015a)
MATLAB License Number: 559163
Operating System: Linux 4.3.0-1-amd64 #1 SMP Debian 4.3.3-7 (2016-01-19) x86_64
Java Version: Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
----------------------------------------------------------------------------------------------------
MATLAB                                                Version 8.5        (R2015a)
Optimization Toolbox                                  Version 7.2        (R2015a)
Partial Differential Equation Toolbox                 Version 2.0        (R2015a)
Signal Processing Toolbox                             Version 7.0        (R2015a)
Symbolic Math Toolbox                                 Version 6.2        (R2015a)

from sfs-matlab.

trettberg avatar trettberg commented on June 19, 2024

It looks like the DSP System Toolbox is required.

from sfs-matlab.

hagenw avatar hagenw commented on June 19, 2024

This sounds reasonable. I added a check for the DSP System Toolbox and pushed it into the master.
Can you please check, if it finds the toolbox for you and continues.

For me it stops now with the following error under Matlab:

>> test_wfs_iir_prefilter
Error using wfs_iir_prefilter (line 98)
WFS_IIR_PREFILTER: The DSP System Toolbox is required for IIR filter, please use conf.wfs.hpretype="FIR"

Error in test_wfs_iir_prefilter (line 54)
hpre1 = wfs_iir_prefilter(conf)

And this error is returned under Octave:

>> test_wfs_iir_prefilter
error: WFS_IIR_PREFILTER: Not available under Octave, please use conf.wfs.hpretype="FIR"
error: called from
    wfs_iir_prefilter at line 93 column 5
    test_wfs_iir_prefilter at line 54 column 7

from sfs-matlab.

trettberg avatar trettberg commented on June 19, 2024

Works fine here.

from sfs-matlab.

hagenw avatar hagenw commented on June 19, 2024

Ok, perfect.

from sfs-matlab.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.