https://launchpad.net/ubuntu/+source/octave-signal/1.4.1-3/+build/18076916 RUN: /usr/share/launchpad-buildd/bin/builder-prep Kernel version: Linux lcy01-amd64-024 4.4.0-166-generic #195-Ubuntu SMP Tue Oct 1 09:35:25 UTC 2019 x86_64 Buildd toolchain package versions: launchpad-buildd_180 python-lpbuildd_180 sbuild_0.67.0-2ubuntu7.1 bzr-builder_0.7.3+bzr174~ppa13~ubuntu14.10.1 bzr_2.7.0-2ubuntu3.1 git-build-recipe_0.3.6~git201906051340.ff11471~ubuntu16.04.1 git_1:2.7.4-0ubuntu1.6 dpkg-dev_1.18.4ubuntu1.6 python-debian_0.1.27ubuntu2. Syncing the system clock with the buildd NTP service... 9 Nov 11:09:16 ntpdate[1928]: adjust time server 10.211.37.1 offset -0.001722 sec RUN: /usr/share/launchpad-buildd/bin/in-target unpack-chroot --backend=chroot --series=focal --arch=i386 PACKAGEBUILD-18076916 --image-type chroot /home/buildd/filecache-default/1990644b2ed835f25dcaa4fd2a2c1aec8ecd68bc Creating target for build PACKAGEBUILD-18076916 RUN: /usr/share/launchpad-buildd/bin/in-target mount-chroot --backend=chroot --series=focal --arch=i386 PACKAGEBUILD-18076916 Starting target for build PACKAGEBUILD-18076916 RUN: /usr/share/launchpad-buildd/bin/in-target override-sources-list --backend=chroot --series=focal --arch=i386 PACKAGEBUILD-18076916 'deb http://ftpmaster.internal/ubuntu focal main universe' 'deb http://ftpmaster.internal/ubuntu focal-security main universe' 'deb http://ftpmaster.internal/ubuntu focal-updates main universe' 'deb http://ftpmaster.internal/ubuntu focal-proposed main universe' Overriding sources.list in build-PACKAGEBUILD-18076916 RUN: /usr/share/launchpad-buildd/bin/in-target update-debian-chroot --backend=chroot --series=focal --arch=i386 PACKAGEBUILD-18076916 Updating target for build PACKAGEBUILD-18076916 Get:1 http://ftpmaster.internal/ubuntu focal InRelease [255 kB] Get:2 http://ftpmaster.internal/ubuntu focal-security InRelease [79.7 kB] Get:3 http://ftpmaster.internal/ubuntu focal-updates InRelease [79.7 kB] Get:4 http://ftpmaster.internal/ubuntu focal-proposed InRelease [107 kB] Get:5 http://ftpmaster.internal/ubuntu focal/main i386 Packages [956 kB] Get:6 http://ftpmaster.internal/ubuntu focal/main Translation-en [506 kB] Get:7 http://ftpmaster.internal/ubuntu focal/universe i386 Packages [8622 kB] Get:8 http://ftpmaster.internal/ubuntu focal/universe Translation-en [5189 kB] Get:9 http://ftpmaster.internal/ubuntu focal-proposed/main i386 Packages [62.0 kB] Get:10 http://ftpmaster.internal/ubuntu focal-proposed/main Translation-en [40.0 kB] Get:11 http://ftpmaster.internal/ubuntu focal-proposed/universe i386 Packages [238 kB] Get:12 http://ftpmaster.internal/ubuntu focal-proposed/universe Translation-en [198 kB] Fetched 16.3 MB in 3s (5004 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following packages were automatically installed and are no longer required: libhogweed4 libnettle6 libperl5.28 perl-modules-5.28 Use 'sudo apt autoremove' to remove them. The following NEW packages will be installed: libhogweed5 libnettle7 libperl5.30 perl-modules-5.30 The following packages will be upgraded: base-files binutils binutils-common binutils-i686-linux-gnu bzip2 cpp-9 debianutils g++-9 gcc-9 gcc-9-base hostname libacl1 libapparmor1 libasan5 libatomic1 libattr1 libaudit-common libaudit1 libbinutils libbz2-1.0 libcap-ng0 libcap2 libcc1-0 libcryptsetup12 libdebconfclient0 libgcc-9-dev libgcc1 libgcrypt20 libgnutls30 libgomp1 libitm1 libjson-c4 libkmod2 liblockfile-bin liblockfile1 liblz4-1 libncurses6 libncursesw6 libp11-kit0 libquadmath0 libselinux1 libsemanage-common libsemanage1 libsqlite3-0 libstdc++-9-dev libstdc++6 libsystemd0 libtinfo6 libubsan1 libudev1 linux-libc-dev lsb-base ncurses-base ncurses-bin perl perl-base systemd systemd-sysv sysvinit-utils 59 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. Need to get 54.2 MB of archives. After this operation, 41.9 MB of additional disk space will be used. Get:1 http://ftpmaster.internal/ubuntu focal/main i386 base-files i386 11ubuntu1 [60.6 kB] Get:2 http://ftpmaster.internal/ubuntu focal/main i386 debianutils i386 4.9 [86.6 kB] Get:3 http://ftpmaster.internal/ubuntu focal/main i386 hostname i386 3.23 [11.8 kB] Get:4 http://ftpmaster.internal/ubuntu focal/main i386 ncurses-bin i386 6.1+20191019-1ubuntu1 [175 kB] Get:5 http://ftpmaster.internal/ubuntu focal/main i386 perl-modules-5.30 all 5.30.0-9 [2739 kB] Get:6 http://ftpmaster.internal/ubuntu focal/main i386 libperl5.30 i386 5.30.0-9 [3582 kB] Get:7 http://ftpmaster.internal/ubuntu focal/main i386 perl i386 5.30.0-9 [224 kB] Get:8 http://ftpmaster.internal/ubuntu focal/main i386 perl-base i386 5.30.0-9 [1618 kB] Get:9 http://ftpmaster.internal/ubuntu focal/main i386 bzip2 i386 1.0.8-2 [34.6 kB] Get:10 http://ftpmaster.internal/ubuntu focal/main i386 libbz2-1.0 i386 1.0.8-2 [33.0 kB] Get:11 http://ftpmaster.internal/ubuntu focal/main i386 ncurses-base all 6.1+20191019-1ubuntu1 [17.9 kB] Get:12 http://ftpmaster.internal/ubuntu focal/main i386 lsb-base all 11.1.0ubuntu1 [12.2 kB] Get:13 http://ftpmaster.internal/ubuntu focal/main i386 sysvinit-utils i386 2.96-1ubuntu1 [21.6 kB] Get:14 http://ftpmaster.internal/ubuntu focal/main i386 systemd-sysv i386 243-3ubuntu1 [9360 B] Get:15 http://ftpmaster.internal/ubuntu focal/main i386 libacl1 i386 2.2.53-5 [20.3 kB] Get:16 http://ftpmaster.internal/ubuntu focal/main i386 libapparmor1 i386 2.13.3-5ubuntu5 [36.6 kB] Get:17 http://ftpmaster.internal/ubuntu focal/main i386 libaudit-common all 1:2.8.5-2ubuntu2 [4080 B] Get:18 http://ftpmaster.internal/ubuntu focal/main i386 libcap-ng0 i386 0.7.9-2.1 [11.3 kB] Get:19 http://ftpmaster.internal/ubuntu focal/main i386 libaudit1 i386 1:2.8.5-2ubuntu2 [40.5 kB] Get:20 http://ftpmaster.internal/ubuntu focal-proposed/main i386 libcap2 i386 1:2.27-1 [14.6 kB] Get:21 http://ftpmaster.internal/ubuntu focal/main i386 libjson-c4 i386 0.13.1+dfsg-6 [31.0 kB] Get:22 http://ftpmaster.internal/ubuntu focal/main i386 libcryptsetup12 i386 2:2.2.1-1ubuntu1 [206 kB] Get:23 http://ftpmaster.internal/ubuntu focal/main i386 libnettle7 i386 3.5.1+really3.5.1-2 [132 kB] Get:24 http://ftpmaster.internal/ubuntu focal/main i386 libhogweed5 i386 3.5.1+really3.5.1-2 [140 kB] Get:25 http://ftpmaster.internal/ubuntu focal/main i386 libp11-kit0 i386 0.23.18.1-2 [184 kB] Get:26 http://ftpmaster.internal/ubuntu focal/main i386 libgnutls30 i386 3.6.9-5ubuntu2 [796 kB] Get:27 http://ftpmaster.internal/ubuntu focal/main i386 libkmod2 i386 26-3ubuntu1 [47.6 kB] Get:28 http://ftpmaster.internal/ubuntu focal-proposed/main i386 liblz4-1 i386 1.9.2-1 [57.2 kB] Get:29 http://ftpmaster.internal/ubuntu focal/main i386 systemd i386 243-3ubuntu1 [3780 kB] Get:30 http://ftpmaster.internal/ubuntu focal/main i386 libsystemd0 i386 243-3ubuntu1 [282 kB] Get:31 http://ftpmaster.internal/ubuntu focal-proposed/main i386 libcc1-0 i386 9.2.1-18ubuntu1 [50.0 kB] Get:32 http://ftpmaster.internal/ubuntu focal/main i386 binutils-i686-linux-gnu i386 2.33.1-1ubuntu1 [1772 kB] Get:33 http://ftpmaster.internal/ubuntu focal/main i386 libbinutils i386 2.33.1-1ubuntu1 [512 kB] Get:34 http://ftpmaster.internal/ubuntu focal/main i386 binutils-common i386 2.33.1-1ubuntu1 [203 kB] Get:35 http://ftpmaster.internal/ubuntu focal/main i386 binutils i386 2.33.1-1ubuntu1 [3400 B] Get:36 http://ftpmaster.internal/ubuntu focal-proposed/main i386 libgomp1 i386 9.2.1-18ubuntu1 [95.1 kB] Get:37 http://ftpmaster.internal/ubuntu focal-proposed/main i386 libitm1 i386 9.2.1-18ubuntu1 [31.0 kB] Get:38 http://ftpmaster.internal/ubuntu focal-proposed/main i386 libatomic1 i386 9.2.1-18ubuntu1 [9832 B] Get:39 http://ftpmaster.internal/ubuntu focal-proposed/main i386 libasan5 i386 9.2.1-18ubuntu1 [411 kB] Get:40 http://ftpmaster.internal/ubuntu focal-proposed/main i386 libubsan1 i386 9.2.1-18ubuntu1 [149 kB] Get:41 http://ftpmaster.internal/ubuntu focal-proposed/main i386 libquadmath0 i386 9.2.1-18ubuntu1 [230 kB] Get:42 http://ftpmaster.internal/ubuntu focal-proposed/main i386 gcc-9-base i386 9.2.1-18ubuntu1 [19.1 kB] Get:43 http://ftpmaster.internal/ubuntu focal-proposed/main i386 libstdc++6 i386 9.2.1-18ubuntu1 [550 kB] Get:44 http://ftpmaster.internal/ubuntu focal-proposed/main i386 g++-9 i386 9.2.1-18ubuntu1 [10.2 MB] Get:45 http://ftpmaster.internal/ubuntu focal-proposed/main i386 libstdc++-9-dev i386 9.2.1-18ubuntu1 [1755 kB] Get:46 http://ftpmaster.internal/ubuntu focal-proposed/main i386 libgcc-9-dev i386 9.2.1-18ubuntu1 [2359 kB] Get:47 http://ftpmaster.internal/ubuntu focal-proposed/main i386 gcc-9 i386 9.2.1-18ubuntu1 [9797 kB] Get:48 http://ftpmaster.internal/ubuntu focal-proposed/main i386 cpp-9 i386 9.2.1-18ubuntu1 [8986 kB] Get:49 http://ftpmaster.internal/ubuntu focal-proposed/main i386 libgcc1 i386 1:9.2.1-18ubuntu1 [48.2 kB] Get:50 http://ftpmaster.internal/ubuntu focal/main i386 libattr1 i386 1:2.4.48-5 [13.0 kB] Get:51 http://ftpmaster.internal/ubuntu focal-proposed/main i386 libdebconfclient0 i386 0.250ubuntu1 [6456 B] Get:52 http://ftpmaster.internal/ubuntu focal/main i386 libgcrypt20 i386 1.8.5-3ubuntu1 [402 kB] Get:53 http://ftpmaster.internal/ubuntu focal/main i386 libncurses6 i386 6.1+20191019-1ubuntu1 [108 kB] Get:54 http://ftpmaster.internal/ubuntu focal/main i386 libtinfo6 i386 6.1+20191019-1ubuntu1 [87.1 kB] Get:55 http://ftpmaster.internal/ubuntu focal/main i386 libncursesw6 i386 6.1+20191019-1ubuntu1 [143 kB] Get:56 http://ftpmaster.internal/ubuntu focal/main i386 libselinux1 i386 2.9-2build1 [74.8 kB] Get:57 http://ftpmaster.internal/ubuntu focal/main i386 libsemanage-common all 2.9-3build1 [9736 B] Get:58 http://ftpmaster.internal/ubuntu focal/main i386 libsemanage1 i386 2.9-3build1 [94.8 kB] Get:59 http://ftpmaster.internal/ubuntu focal/main i386 libudev1 i386 243-3ubuntu1 [81.3 kB] Get:60 http://ftpmaster.internal/ubuntu focal/main i386 libsqlite3-0 i386 3.30.1-1 [576 kB] Get:61 http://ftpmaster.internal/ubuntu focal/main i386 liblockfile-bin i386 1.16-1.1 [12.1 kB] Get:62 http://ftpmaster.internal/ubuntu focal/main i386 liblockfile1 i386 1.16-1.1 [7016 B] Get:63 http://ftpmaster.internal/ubuntu focal-proposed/main i386 linux-libc-dev i386 5.3.0-21.22 [1085 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 54.2 MB in 4s (13.1 MB/s) (Reading database ... 12732 files and directories currently installed.) Preparing to unpack .../base-files_11ubuntu1_i386.deb ... Unpacking base-files (11ubuntu1) over (10.2ubuntu7) ... Setting up base-files (11ubuntu1) ... Installing new version of config file /etc/debian_version ... Installing new version of config file /etc/issue ... Installing new version of config file /etc/issue.net ... Installing new version of config file /etc/lsb-release ... Updating /root/.profile to current default. (Reading database ... 12732 files and directories currently installed.) Preparing to unpack .../debianutils_4.9_i386.deb ... Unpacking debianutils (4.9) over (4.8.6.3) ... Setting up debianutils (4.9) ... (Reading database ... 12732 files and directories currently installed.) Preparing to unpack .../hostname_3.23_i386.deb ... Unpacking hostname (3.23) over (3.22) ... Setting up hostname (3.23) ... (Reading database ... 12732 files and directories currently installed.) Preparing to unpack .../ncurses-bin_6.1+20191019-1ubuntu1_i386.deb ... Unpacking ncurses-bin (6.1+20191019-1ubuntu1) over (6.1+20190803-1ubuntu1) ... Setting up ncurses-bin (6.1+20191019-1ubuntu1) ... (Reading database ... 12732 files and directories currently installed.) Preparing to unpack .../perl_5.30.0-9_i386.deb ... Unpacking perl (5.30.0-9) over (5.28.1-6build1) ... Replacing files in old package perl-base (5.28.1-6build1) ... Selecting previously unselected package perl-modules-5.30. Preparing to unpack .../perl-modules-5.30_5.30.0-9_all.deb ... Unpacking perl-modules-5.30 (5.30.0-9) ... Selecting previously unselected package libperl5.30:i386. Preparing to unpack .../libperl5.30_5.30.0-9_i386.deb ... Unpacking libperl5.30:i386 (5.30.0-9) ... Preparing to unpack .../perl-base_5.30.0-9_i386.deb ... Unpacking perl-base (5.30.0-9) over (5.28.1-6build1) ... Setting up perl-base (5.30.0-9) ... (Reading database ... 14635 files and directories currently installed.) Preparing to unpack .../bzip2_1.0.8-2_i386.deb ... Unpacking bzip2 (1.0.8-2) over (1.0.6-9.2) ... Preparing to unpack .../libbz2-1.0_1.0.8-2_i386.deb ... Unpacking libbz2-1.0:i386 (1.0.8-2) over (1.0.6-9.2) ... Setting up libbz2-1.0:i386 (1.0.8-2) ... (Reading database ... 14635 files and directories currently installed.) Preparing to unpack .../ncurses-base_6.1+20191019-1ubuntu1_all.deb ... Unpacking ncurses-base (6.1+20191019-1ubuntu1) over (6.1+20190803-1ubuntu1) ... Setting up ncurses-base (6.1+20191019-1ubuntu1) ... (Reading database ... 14635 files and directories currently installed.) Preparing to unpack .../lsb-base_11.1.0ubuntu1_all.deb ... Unpacking lsb-base (11.1.0ubuntu1) over (11.0.1ubuntu1) ... Setting up lsb-base (11.1.0ubuntu1) ... (Reading database ... 14634 files and directories currently installed.) Preparing to unpack .../sysvinit-utils_2.96-1ubuntu1_i386.deb ... Unpacking sysvinit-utils (2.96-1ubuntu1) over (2.95-5ubuntu2) ... Setting up sysvinit-utils (2.96-1ubuntu1) ... (Reading database ... 14634 files and directories currently installed.) Preparing to unpack .../systemd-sysv_243-3ubuntu1_i386.deb ... Unpacking systemd-sysv (243-3ubuntu1) over (242-7ubuntu3) ... Preparing to unpack .../libacl1_2.2.53-5_i386.deb ... Unpacking libacl1:i386 (2.2.53-5) over (2.2.53-4) ... Setting up libacl1:i386 (2.2.53-5) ... (Reading database ... 14634 files and directories currently installed.) Preparing to unpack .../libapparmor1_2.13.3-5ubuntu5_i386.deb ... Unpacking libapparmor1:i386 (2.13.3-5ubuntu5) over (2.13.3-5ubuntu1) ... Preparing to unpack .../libaudit-common_1%3a2.8.5-2ubuntu2_all.deb ... Unpacking libaudit-common (1:2.8.5-2ubuntu2) over (1:2.8.5-2ubuntu1) ... Setting up libaudit-common (1:2.8.5-2ubuntu2) ... (Reading database ... 14634 files and directories currently installed.) Preparing to unpack .../libcap-ng0_0.7.9-2.1_i386.deb ... Unpacking libcap-ng0:i386 (0.7.9-2.1) over (0.7.9-2) ... Setting up libcap-ng0:i386 (0.7.9-2.1) ... (Reading database ... 14634 files and directories currently installed.) Preparing to unpack .../libaudit1_1%3a2.8.5-2ubuntu2_i386.deb ... Unpacking libaudit1:i386 (1:2.8.5-2ubuntu2) over (1:2.8.5-2ubuntu1) ... Setting up libaudit1:i386 (1:2.8.5-2ubuntu2) ... (Reading database ... 14634 files and directories currently installed.) Preparing to unpack .../libcap2_1%3a2.27-1_i386.deb ... Unpacking libcap2:i386 (1:2.27-1) over (1:2.25-2) ... Preparing to unpack .../libjson-c4_0.13.1+dfsg-6_i386.deb ... Unpacking libjson-c4:i386 (0.13.1+dfsg-6) over (0.13.1+dfsg-4) ... Preparing to unpack .../libcryptsetup12_2%3a2.2.1-1ubuntu1_i386.deb ... Unpacking libcryptsetup12:i386 (2:2.2.1-1ubuntu1) over (2:2.2.0-3ubuntu1) ... Selecting previously unselected package libnettle7:i386. Preparing to unpack .../libnettle7_3.5.1+really3.5.1-2_i386.deb ... Unpacking libnettle7:i386 (3.5.1+really3.5.1-2) ... Setting up libnettle7:i386 (3.5.1+really3.5.1-2) ... Selecting previously unselected package libhogweed5:i386. (Reading database ... 14641 files and directories currently installed.) Preparing to unpack .../libhogweed5_3.5.1+really3.5.1-2_i386.deb ... Unpacking libhogweed5:i386 (3.5.1+really3.5.1-2) ... Setting up libhogweed5:i386 (3.5.1+really3.5.1-2) ... (Reading database ... 14644 files and directories currently installed.) Preparing to unpack .../libp11-kit0_0.23.18.1-2_i386.deb ... Unpacking libp11-kit0:i386 (0.23.18.1-2) over (0.23.17-2) ... Setting up libp11-kit0:i386 (0.23.18.1-2) ... (Reading database ... 14644 files and directories currently installed.) Preparing to unpack .../libgnutls30_3.6.9-5ubuntu2_i386.deb ... Unpacking libgnutls30:i386 (3.6.9-5ubuntu2) over (3.6.9-5ubuntu1) ... Setting up libgnutls30:i386 (3.6.9-5ubuntu2) ... (Reading database ... 14644 files and directories currently installed.) Preparing to unpack .../libkmod2_26-3ubuntu1_i386.deb ... Unpacking libkmod2:i386 (26-3ubuntu1) over (26-1ubuntu1) ... Preparing to unpack .../liblz4-1_1.9.2-1_i386.deb ... Unpacking liblz4-1:i386 (1.9.2-1) over (1.9.1-1) ... Setting up liblz4-1:i386 (1.9.2-1) ... (Reading database ... 14644 files and directories currently installed.) Preparing to unpack .../systemd_243-3ubuntu1_i386.deb ... Unpacking systemd (243-3ubuntu1) over (242-7ubuntu3) ... Preparing to unpack .../libsystemd0_243-3ubuntu1_i386.deb ... Unpacking libsystemd0:i386 (243-3ubuntu1) over (242-7ubuntu3) ... Setting up libsystemd0:i386 (243-3ubuntu1) ... (Reading database ... 14662 files and directories currently installed.) Preparing to unpack .../00-libcc1-0_9.2.1-18ubuntu1_i386.deb ... Unpacking libcc1-0:i386 (9.2.1-18ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../01-binutils-i686-linux-gnu_2.33.1-1ubuntu1_i386.deb ... Unpacking binutils-i686-linux-gnu (2.33.1-1ubuntu1) over (2.33-2ubuntu1) ... Preparing to unpack .../02-libbinutils_2.33.1-1ubuntu1_i386.deb ... Unpacking libbinutils:i386 (2.33.1-1ubuntu1) over (2.33-2ubuntu1) ... Preparing to unpack .../03-binutils-common_2.33.1-1ubuntu1_i386.deb ... Unpacking binutils-common:i386 (2.33.1-1ubuntu1) over (2.33-2ubuntu1) ... Preparing to unpack .../04-binutils_2.33.1-1ubuntu1_i386.deb ... Unpacking binutils (2.33.1-1ubuntu1) over (2.33-2ubuntu1) ... Preparing to unpack .../05-libgomp1_9.2.1-18ubuntu1_i386.deb ... Unpacking libgomp1:i386 (9.2.1-18ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../06-libitm1_9.2.1-18ubuntu1_i386.deb ... Unpacking libitm1:i386 (9.2.1-18ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../07-libatomic1_9.2.1-18ubuntu1_i386.deb ... Unpacking libatomic1:i386 (9.2.1-18ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../08-libasan5_9.2.1-18ubuntu1_i386.deb ... Unpacking libasan5:i386 (9.2.1-18ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../09-libubsan1_9.2.1-18ubuntu1_i386.deb ... Unpacking libubsan1:i386 (9.2.1-18ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../10-libquadmath0_9.2.1-18ubuntu1_i386.deb ... Unpacking libquadmath0:i386 (9.2.1-18ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../11-gcc-9-base_9.2.1-18ubuntu1_i386.deb ... Unpacking gcc-9-base:i386 (9.2.1-18ubuntu1) over (9.2.1-9ubuntu2) ... Setting up gcc-9-base:i386 (9.2.1-18ubuntu1) ... (Reading database ... 14662 files and directories currently installed.) Preparing to unpack .../libstdc++6_9.2.1-18ubuntu1_i386.deb ... Unpacking libstdc++6:i386 (9.2.1-18ubuntu1) over (9.2.1-9ubuntu2) ... Setting up libstdc++6:i386 (9.2.1-18ubuntu1) ... (Reading database ... 14662 files and directories currently installed.) Preparing to unpack .../0-g++-9_9.2.1-18ubuntu1_i386.deb ... Unpacking g++-9 (9.2.1-18ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../1-libstdc++-9-dev_9.2.1-18ubuntu1_i386.deb ... Unpacking libstdc++-9-dev:i386 (9.2.1-18ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../2-libgcc-9-dev_9.2.1-18ubuntu1_i386.deb ... Unpacking libgcc-9-dev:i386 (9.2.1-18ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../3-gcc-9_9.2.1-18ubuntu1_i386.deb ... Unpacking gcc-9 (9.2.1-18ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../4-cpp-9_9.2.1-18ubuntu1_i386.deb ... Unpacking cpp-9 (9.2.1-18ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../5-libgcc1_1%3a9.2.1-18ubuntu1_i386.deb ... Unpacking libgcc1:i386 (1:9.2.1-18ubuntu1) over (1:9.2.1-9ubuntu2) ... Setting up libgcc1:i386 (1:9.2.1-18ubuntu1) ... (Reading database ... 14662 files and directories currently installed.) Preparing to unpack .../libattr1_1%3a2.4.48-5_i386.deb ... Unpacking libattr1:i386 (1:2.4.48-5) over (1:2.4.48-4) ... Setting up libattr1:i386 (1:2.4.48-5) ... (Reading database ... 14662 files and directories currently installed.) Preparing to unpack .../libdebconfclient0_0.250ubuntu1_i386.deb ... Unpacking libdebconfclient0:i386 (0.250ubuntu1) over (0.249ubuntu1) ... Setting up libdebconfclient0:i386 (0.250ubuntu1) ... (Reading database ... 14662 files and directories currently installed.) Preparing to unpack .../libgcrypt20_1.8.5-3ubuntu1_i386.deb ... Unpacking libgcrypt20:i386 (1.8.5-3ubuntu1) over (1.8.4-5ubuntu2) ... Setting up libgcrypt20:i386 (1.8.5-3ubuntu1) ... (Reading database ... 14662 files and directories currently installed.) Preparing to unpack .../libncurses6_6.1+20191019-1ubuntu1_i386.deb ... Unpacking libncurses6:i386 (6.1+20191019-1ubuntu1) over (6.1+20190803-1ubuntu1) ... Preparing to unpack .../libtinfo6_6.1+20191019-1ubuntu1_i386.deb ... Unpacking libtinfo6:i386 (6.1+20191019-1ubuntu1) over (6.1+20190803-1ubuntu1) ... Setting up libtinfo6:i386 (6.1+20191019-1ubuntu1) ... (Reading database ... 14662 files and directories currently installed.) Preparing to unpack .../libncursesw6_6.1+20191019-1ubuntu1_i386.deb ... Unpacking libncursesw6:i386 (6.1+20191019-1ubuntu1) over (6.1+20190803-1ubuntu1) ... Setting up libncursesw6:i386 (6.1+20191019-1ubuntu1) ... (Reading database ... 14662 files and directories currently installed.) Preparing to unpack .../libselinux1_2.9-2build1_i386.deb ... Unpacking libselinux1:i386 (2.9-2build1) over (2.9-2) ... Setting up libselinux1:i386 (2.9-2build1) ... (Reading database ... 14662 files and directories currently installed.) Preparing to unpack .../libsemanage-common_2.9-3build1_all.deb ... Unpacking libsemanage-common (2.9-3build1) over (2.9-3) ... Setting up libsemanage-common (2.9-3build1) ... (Reading database ... 14662 files and directories currently installed.) Preparing to unpack .../libsemanage1_2.9-3build1_i386.deb ... Unpacking libsemanage1:i386 (2.9-3build1) over (2.9-3) ... Setting up libsemanage1:i386 (2.9-3build1) ... (Reading database ... 14662 files and directories currently installed.) Preparing to unpack .../libudev1_243-3ubuntu1_i386.deb ... Unpacking libudev1:i386 (243-3ubuntu1) over (242-7ubuntu3) ... Setting up libudev1:i386 (243-3ubuntu1) ... (Reading database ... 14662 files and directories currently installed.) Preparing to unpack .../libsqlite3-0_3.30.1-1_i386.deb ... Unpacking libsqlite3-0:i386 (3.30.1-1) over (3.29.0-2) ... Preparing to unpack .../liblockfile-bin_1.16-1.1_i386.deb ... Unpacking liblockfile-bin (1.16-1.1) over (1.15-1) ... Preparing to unpack .../liblockfile1_1.16-1.1_i386.deb ... Unpacking liblockfile1:i386 (1.16-1.1) over (1.15-1) ... Preparing to unpack .../linux-libc-dev_5.3.0-21.22_i386.deb ... Unpacking linux-libc-dev:i386 (5.3.0-21.22) over (5.3.0-18.19) ... Setting up libapparmor1:i386 (2.13.3-5ubuntu5) ... Setting up liblockfile-bin (1.16-1.1) ... Setting up perl-modules-5.30 (5.30.0-9) ... Setting up libsqlite3-0:i386 (3.30.1-1) ... Setting up binutils-common:i386 (2.33.1-1ubuntu1) ... Setting up linux-libc-dev:i386 (5.3.0-21.22) ... Setting up libgomp1:i386 (9.2.1-18ubuntu1) ... Setting up bzip2 (1.0.8-2) ... Setting up libcap2:i386 (1:2.27-1) ... Setting up libasan5:i386 (9.2.1-18ubuntu1) ... Setting up libncurses6:i386 (6.1+20191019-1ubuntu1) ... Setting up libquadmath0:i386 (9.2.1-18ubuntu1) ... Setting up libatomic1:i386 (9.2.1-18ubuntu1) ... Setting up libubsan1:i386 (9.2.1-18ubuntu1) ... Setting up cpp-9 (9.2.1-18ubuntu1) ... Setting up libperl5.30:i386 (5.30.0-9) ... Setting up liblockfile1:i386 (1.16-1.1) ... Setting up libjson-c4:i386 (0.13.1+dfsg-6) ... Setting up libbinutils:i386 (2.33.1-1ubuntu1) ... Setting up libcc1-0:i386 (9.2.1-18ubuntu1) ... Setting up libitm1:i386 (9.2.1-18ubuntu1) ... Setting up libkmod2:i386 (26-3ubuntu1) ... Setting up binutils-i686-linux-gnu (2.33.1-1ubuntu1) ... Setting up binutils (2.33.1-1ubuntu1) ... Setting up libgcc-9-dev:i386 (9.2.1-18ubuntu1) ... Setting up perl (5.30.0-9) ... Setting up libcryptsetup12:i386 (2:2.2.1-1ubuntu1) ... Setting up gcc-9 (9.2.1-18ubuntu1) ... Setting up libstdc++-9-dev:i386 (9.2.1-18ubuntu1) ... Setting up systemd (243-3ubuntu1) ... Installing new version of config file /etc/dhcp/dhclient-enter-hooks.d/resolved ... Installing new version of config file /etc/systemd/networkd.conf ... Installing new version of config file /etc/systemd/system.conf ... Installing new version of config file /etc/systemd/user.conf ... Initializing machine ID from KVM UUID. Setting up g++-9 (9.2.1-18ubuntu1) ... Setting up systemd-sysv (243-3ubuntu1) ... Processing triggers for libc-bin (2.30-0ubuntu2) ... RUN: /usr/share/launchpad-buildd/bin/sbuild-package PACKAGEBUILD-18076916 i386 focal-proposed -c chroot:build-PACKAGEBUILD-18076916 --arch=i386 --dist=focal-proposed --nolog octave-signal_1.4.1-3.dsc Initiating build PACKAGEBUILD-18076916 with 4 jobs across 4 processor cores. Kernel reported to sbuild: 4.4.0-166-generic #195-Ubuntu SMP Tue Oct 1 09:35:25 UTC 2019 i686 sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on lcy01-amd64-024.buildd +==============================================================================+ | octave-signal 1.4.1-3 (i386) 09 Nov 2019 11:09 | +==============================================================================+ Package: octave-signal Version: 1.4.1-3 Source Version: 1.4.1-3 Distribution: focal-proposed Machine Architecture: amd64 Host Architecture: i386 Build Architecture: i386 I: NOTICE: Log filtering will replace 'build/octave-signal-kcXCqO/octave-signal-1.4.1' with '<>' I: NOTICE: Log filtering will replace 'build/octave-signal-kcXCqO' with '<>' I: NOTICE: Log filtering will replace 'home/buildd/build-PACKAGEBUILD-18076916/chroot-autobuild' with '<>' +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Local sources ------------- octave-signal_1.4.1-3.dsc exists in .; copying to chroot Check architectures ------------------- Check dependencies ------------------ Merged Build-Depends: build-essential, fakeroot Filtered Build-Depends: build-essential, fakeroot dpkg-deb: building package 'sbuild-build-depends-core-dummy' in '/<>/resolver-uSi2lQ/apt_archive/sbuild-build-depends-core-dummy.deb'. Ign:1 copy:/<>/resolver-uSi2lQ/apt_archive ./ InRelease Get:2 copy:/<>/resolver-uSi2lQ/apt_archive ./ Release [2119 B] Ign:3 copy:/<>/resolver-uSi2lQ/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-uSi2lQ/apt_archive ./ Sources [214 B] Get:5 copy:/<>/resolver-uSi2lQ/apt_archive ./ Packages [528 B] Fetched 2861 B in 0s (273 kB/s) Reading package lists... Reading package lists... +------------------------------------------------------------------------------+ | Install core build dependencies (apt-based resolver) | +------------------------------------------------------------------------------+ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following packages were automatically installed and are no longer required: libhogweed4 libnettle6 libperl5.28 perl-modules-5.28 Use 'apt autoremove' to remove them. The following NEW packages will be installed: sbuild-build-depends-core-dummy 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 852 B of archives. After this operation, 0 B of additional disk space will be used. Get:1 copy:/<>/resolver-uSi2lQ/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [852 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 852 B in 0s (0 B/s) Selecting previously unselected package sbuild-build-depends-core-dummy. (Reading database ... 14662 files and directories currently installed.) Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_i386.deb ... Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... Merged Build-Depends: debhelper-compat (= 12), dh-octave (>= 0.7.1), octave-control (>= 3.1.0) Merged Build-Conflicts: octave-nan Filtered Build-Depends: debhelper-compat (= 12), dh-octave (>= 0.7.1), octave-control (>= 3.1.0) Filtered Build-Conflicts: octave-nan dpkg-deb: building package 'sbuild-build-depends-octave-signal-dummy' in '/<>/resolver-_zYv0F/apt_archive/sbuild-build-depends-octave-signal-dummy.deb'. Ign:1 copy:/<>/resolver-_zYv0F/apt_archive ./ InRelease Get:2 copy:/<>/resolver-_zYv0F/apt_archive ./ Release [2119 B] Ign:3 copy:/<>/resolver-_zYv0F/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-_zYv0F/apt_archive ./ Sources [259 B] Get:5 copy:/<>/resolver-_zYv0F/apt_archive ./ Packages [574 B] Fetched 2952 B in 0s (0 B/s) Reading package lists... Reading package lists... +------------------------------------------------------------------------------+ | Install octave-signal build dependencies (apt-based resolver) | +------------------------------------------------------------------------------+ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following packages were automatically installed and are no longer required: libhogweed4 libnettle6 libperl5.28 perl-modules-5.28 Use 'apt autoremove' to remove them. The following additional packages will be installed: aglfn autoconf automake autopoint autotools-dev bsdmainutils cme debhelper dh-autoreconf dh-octave dh-octave-autopkgtest dh-strip-nondeterminism dwz file fontconfig fontconfig-config fonts-dejavu-core fonts-freefont-otf gettext gettext-base gfortran gfortran-9 gnuplot-data gnuplot-nox groff-base hdf5-helpers intltool-debian libaec-dev libaec0 libamd2 libapp-cmd-perl libarchive-zip-perl libarpack2 libasn1-8-heimdal libasound2 libasound2-data libavahi-client3 libavahi-common-data libavahi-common3 libb-hooks-op-check-perl libblas-dev libblas3 libboolean-perl libbsd0 libcairo2 libcamd2 libcapture-tiny-perl libcarp-assert-more-perl libcarp-assert-perl libccolamd2 libcholmod3 libclass-load-perl libclone-choose-perl libcolamd2 libconfig-model-perl libconvert-binhex-perl libcroco3 libcups2 libcurl3-gnutls libcxsparse3 libdata-optlist-perl libdatrie1 libdbus-1-3 libdebhelper-perl libdevel-callchecker-perl libdouble-conversion3 libdrm-amdgpu1 libdrm-common libdrm-dev libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2 libdynaloader-functions-perl libedit2 libegl-mesa0 libegl1 libelf1 libencode-locale-perl liberror-perl libevdev2 libexpat1 libexporter-lite-perl libexporter-tiny-perl libfftw3-bin libfftw3-dev libfftw3-double3 libfftw3-long3 libfftw3-quad3 libfftw3-single3 libfile-find-rule-perl libfile-homedir-perl libfile-listing-perl libfile-stripnondeterminism-perl libfile-which-perl libflac8 libfltk-gl1.3 libfltk1.3 libfontconfig1 libfreetype6 libfribidi0 libgbm1 libgd3 libgetopt-long-descriptive-perl libgfortran-9-dev libgfortran5 libgl1 libgl1-mesa-dev libgl1-mesa-dri libgl2ps1.4 libglapi-mesa libgles1 libgles2 libglib2.0-0 libglpk40 libglu1-mesa libglvnd-core-dev libglvnd-dev libglvnd0 libglx-mesa0 libglx0 libgraphicsmagick++-q16-12 libgraphicsmagick-q16-3 libgraphite2-3 libgssapi-krb5-2 libgssapi3-heimdal libgudev-1.0-0 libharfbuzz0b libhash-merge-perl libhcrypto4-heimdal libhdf5-103 libhdf5-cpp-103 libhdf5-dev libheimbase1-heimdal libheimntlm0-heimdal libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl libhx509-5-heimdal libice6 libicu63 libinput-bin libinput10 libio-html-perl libio-socket-ssl-perl libio-stringy-perl libio-tiecombine-perl libjack-jackd2-0 libjbig0 libjpeg-dev libjpeg-turbo8 libjpeg-turbo8-dev libjpeg8 libjpeg8-dev libjson-perl libk5crypto3 libkeyutils1 libkrb5-26-heimdal libkrb5-3 libkrb5support0 liblapack-dev liblapack3 liblcms2-2 libldap-2.4-2 libldap-common liblist-moreutils-perl libllvm9 liblog-log4perl-perl libltdl7 liblua5.3-0 liblwp-mediatypes-perl liblwp-protocol-https-perl libmagic-mgc libmagic1 libmailtools-perl libmetis5 libmime-tools-perl libmodule-implementation-perl libmodule-pluggable-perl libmodule-runtime-perl libmouse-perl libmousex-nativetraits-perl libmousex-strictconstructor-perl libmtdev1 libncurses-dev libnet-http-perl libnet-smtp-ssl-perl libnet-ssleay-perl libnghttp2-14 libnumber-compare-perl liboctave-dev liboctave7 libogg0 libopengl0 libpackage-stash-perl libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libparams-classify-perl libparams-util-perl libparams-validate-perl libparse-debcontrol-perl libparse-recdescent-perl libpath-tiny-perl libpciaccess0 libpcre2-16-0 libpipeline1 libpixman-1-0 libpod-pom-perl libportaudio2 libpsl5 libpthread-stubs0-dev libqhull7 libqrupdate1 libqscintilla2-qt5-13 libqscintilla2-qt5-l10n libqt5core5a libqt5dbus5 libqt5gui5 libqt5help5 libqt5network5 libqt5printsupport5 libqt5sql5 libqt5widgets5 libqt5xml5 libreadline-dev libregexp-common-perl libroken18-heimdal librtmp1 libsamplerate0 libsasl2-2 libsasl2-modules-db libsensors-config libsensors5 libsigsegv2 libslicot0 libsm6 libsndfile1 libssh-4 libstring-rewriteprefix-perl libsub-exporter-perl libsub-install-perl libsub-override-perl libsub-uplevel-perl libsuitesparseconfig5 libsz2 libtest-exception-perl libtext-glob-perl libtext-unidecode-perl libthai-data libthai0 libtiff5 libtimedate-perl libtool libtry-tiny-perl libuchardet0 libumfpack5 liburi-perl libvorbis0a libvorbisenc2 libwacom-common libwacom2 libwayland-client0 libwayland-server0 libwebp6 libwebpmux3 libwind0-heimdal libwmf0.2-7 libwww-perl libwww-robotrules-perl libx11-6 libx11-data libx11-dev libx11-xcb-dev libx11-xcb1 libxau-dev libxau6 libxcb-dri2-0 libxcb-dri2-0-dev libxcb-dri3-0 libxcb-dri3-dev libxcb-glx0 libxcb-glx0-dev libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-present-dev libxcb-present0 libxcb-randr0 libxcb-randr0-dev libxcb-render-util0 libxcb-render0 libxcb-render0-dev libxcb-shape0 libxcb-shape0-dev libxcb-shm0 libxcb-sync-dev libxcb-sync1 libxcb-util1 libxcb-xfixes0 libxcb-xfixes0-dev libxcb-xinerama0 libxcb-xinput0 libxcb-xkb1 libxcb1 libxcb1-dev libxcursor1 libxdamage-dev libxdamage1 libxdmcp-dev libxdmcp6 libxext-dev libxext6 libxfixes-dev libxfixes3 libxft2 libxinerama1 libxkbcommon-x11-0 libxkbcommon0 libxml-libxml-perl libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-perl libxml2 libxpm4 libxrender1 libxshmfence-dev libxshmfence1 libxxf86vm-dev libxxf86vm1 libyaml-perl m4 man-db mesa-common-dev netbase octave octave-common octave-control perl-openssl-defaults po-debconf tex-common texinfo ucf x11-common x11proto-core-dev x11proto-damage-dev x11proto-dev x11proto-fixes-dev x11proto-xext-dev x11proto-xf86vidmode-dev xkb-data xorg-sgml-doctools xtrans-dev zlib1g-dev Suggested packages: autoconf-archive gnu-standards autoconf-doc wamerican | wordlist whois vacation libconfig-model-cursesui-perl libconfig-model-itself-perl dh-make gettext-doc libasprintf-dev libgettextpo-dev gfortran-multilib gfortran-doc gfortran-9-multilib gfortran-9-doc libgfortran5-dbg libcoarrays-dev gnuplot-doc groff libasound2-plugins alsa-utils liblapack-doc libconfig-model-dpkg-perl libconfig-model-openssh-perl libterm-readline-perl-perl | libterm-readline-gnu-perl cups-common libfftw3-doc libgd-tools libiodbc2-dev default-libmysqlclient-dev graphicsmagick-dbg krb5-doc krb5-user libhdf5-doc libdata-dump-perl jackd2 liblcms2-utils libdbd-csv-perl liblog-dispatch-filerotate-perl librrds-perl libxml-dom-perl libcrypt-ssleay-perl ncurses-doc libscalar-number-perl pciutils libqscintilla2-doc qt5-image-formats-plugins qtwayland5 readline-doc lm-sensors libtool-doc gcj-jdk libwmf0.2-7-gtk libauthen-ntlm-perl libx11-doc libxcb-doc libxext-doc libyaml-shell-perl m4-doc apparmor less www-browser libmail-box-perl texlive-base texlive-latex-base texlive-generic-recommended texinfo-doc-nonfree texlive-fonts-recommended Recommended packages: libconfig-model-approx-perl libconfig-model-dpkg-perl libconfig-model-lcdproc-perl libconfig-model-openssh-perl libconfig-model-systemd-perl libconfig-model-tkui-perl curl | wget | lynx fonts-liberation groff libclone-perl | libclone-pp-perl bash-completion fuse libfuse-perl libtext-levenshtein-damerau-perl dbus libarchive-cpio-perl libglib2.0-data shared-mime-info xdg-user-dirs ghostscript gsfonts libhtml-format-perl libjson-xs-perl krb5-locales liblog-dispatch-perl libipc-shareable-perl libclass-method-modifiers-perl libauthen-sasl-perl libpackage-stash-xs-perl libtie-ixhash-perl libunicode-utf8-perl publicsuffix qttranslations5-l10n libqt5svg5 qt5-gtk-platformtheme libqt5sql5-sqlite | libqt5sql5-mysql | libqt5sql5-odbc | libqt5sql5-psql | libqt5sql5-tds | libqt5sql5-ibase libsasl2-modules libltdl-dev libwacom-bin libdata-dump-perl libhtml-form-perl libhttp-daemon-perl libxml-sax-expat-perl libyaml-libyaml-perl | libyaml-syck-perl libopenblas-base | libatlas3-base pstoedit epstool default-jre-headless octave-doc libmail-sendmail-perl The following NEW packages will be installed: aglfn autoconf automake autopoint autotools-dev bsdmainutils cme debhelper dh-autoreconf dh-octave dh-octave-autopkgtest dh-strip-nondeterminism dwz file fontconfig fontconfig-config fonts-dejavu-core fonts-freefont-otf gettext gettext-base gfortran gfortran-9 gnuplot-data gnuplot-nox groff-base hdf5-helpers intltool-debian libaec-dev libaec0 libamd2 libapp-cmd-perl libarchive-zip-perl libarpack2 libasn1-8-heimdal libasound2 libasound2-data libavahi-client3 libavahi-common-data libavahi-common3 libb-hooks-op-check-perl libblas-dev libblas3 libboolean-perl libbsd0 libcairo2 libcamd2 libcapture-tiny-perl libcarp-assert-more-perl libcarp-assert-perl libccolamd2 libcholmod3 libclass-load-perl libclone-choose-perl libcolamd2 libconfig-model-perl libconvert-binhex-perl libcroco3 libcups2 libcurl3-gnutls libcxsparse3 libdata-optlist-perl libdatrie1 libdbus-1-3 libdebhelper-perl libdevel-callchecker-perl libdouble-conversion3 libdrm-amdgpu1 libdrm-common libdrm-dev libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2 libdynaloader-functions-perl libedit2 libegl-mesa0 libegl1 libelf1 libencode-locale-perl liberror-perl libevdev2 libexpat1 libexporter-lite-perl libexporter-tiny-perl libfftw3-bin libfftw3-dev libfftw3-double3 libfftw3-long3 libfftw3-quad3 libfftw3-single3 libfile-find-rule-perl libfile-homedir-perl libfile-listing-perl libfile-stripnondeterminism-perl libfile-which-perl libflac8 libfltk-gl1.3 libfltk1.3 libfontconfig1 libfreetype6 libfribidi0 libgbm1 libgd3 libgetopt-long-descriptive-perl libgfortran-9-dev libgfortran5 libgl1 libgl1-mesa-dev libgl1-mesa-dri libgl2ps1.4 libglapi-mesa libgles1 libgles2 libglib2.0-0 libglpk40 libglu1-mesa libglvnd-core-dev libglvnd-dev libglvnd0 libglx-mesa0 libglx0 libgraphicsmagick++-q16-12 libgraphicsmagick-q16-3 libgraphite2-3 libgssapi-krb5-2 libgssapi3-heimdal libgudev-1.0-0 libharfbuzz0b libhash-merge-perl libhcrypto4-heimdal libhdf5-103 libhdf5-cpp-103 libhdf5-dev libheimbase1-heimdal libheimntlm0-heimdal libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl libhx509-5-heimdal libice6 libicu63 libinput-bin libinput10 libio-html-perl libio-socket-ssl-perl libio-stringy-perl libio-tiecombine-perl libjack-jackd2-0 libjbig0 libjpeg-dev libjpeg-turbo8 libjpeg-turbo8-dev libjpeg8 libjpeg8-dev libjson-perl libk5crypto3 libkeyutils1 libkrb5-26-heimdal libkrb5-3 libkrb5support0 liblapack-dev liblapack3 liblcms2-2 libldap-2.4-2 libldap-common liblist-moreutils-perl libllvm9 liblog-log4perl-perl libltdl7 liblua5.3-0 liblwp-mediatypes-perl liblwp-protocol-https-perl libmagic-mgc libmagic1 libmailtools-perl libmetis5 libmime-tools-perl libmodule-implementation-perl libmodule-pluggable-perl libmodule-runtime-perl libmouse-perl libmousex-nativetraits-perl libmousex-strictconstructor-perl libmtdev1 libncurses-dev libnet-http-perl libnet-smtp-ssl-perl libnet-ssleay-perl libnghttp2-14 libnumber-compare-perl liboctave-dev liboctave7 libogg0 libopengl0 libpackage-stash-perl libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libparams-classify-perl libparams-util-perl libparams-validate-perl libparse-debcontrol-perl libparse-recdescent-perl libpath-tiny-perl libpciaccess0 libpcre2-16-0 libpipeline1 libpixman-1-0 libpod-pom-perl libportaudio2 libpsl5 libpthread-stubs0-dev libqhull7 libqrupdate1 libqscintilla2-qt5-13 libqscintilla2-qt5-l10n libqt5core5a libqt5dbus5 libqt5gui5 libqt5help5 libqt5network5 libqt5printsupport5 libqt5sql5 libqt5widgets5 libqt5xml5 libreadline-dev libregexp-common-perl libroken18-heimdal librtmp1 libsamplerate0 libsasl2-2 libsasl2-modules-db libsensors-config libsensors5 libsigsegv2 libslicot0 libsm6 libsndfile1 libssh-4 libstring-rewriteprefix-perl libsub-exporter-perl libsub-install-perl libsub-override-perl libsub-uplevel-perl libsuitesparseconfig5 libsz2 libtest-exception-perl libtext-glob-perl libtext-unidecode-perl libthai-data libthai0 libtiff5 libtimedate-perl libtool libtry-tiny-perl libuchardet0 libumfpack5 liburi-perl libvorbis0a libvorbisenc2 libwacom-common libwacom2 libwayland-client0 libwayland-server0 libwebp6 libwebpmux3 libwind0-heimdal libwmf0.2-7 libwww-perl libwww-robotrules-perl libx11-6 libx11-data libx11-dev libx11-xcb-dev libx11-xcb1 libxau-dev libxau6 libxcb-dri2-0 libxcb-dri2-0-dev libxcb-dri3-0 libxcb-dri3-dev libxcb-glx0 libxcb-glx0-dev libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-present-dev libxcb-present0 libxcb-randr0 libxcb-randr0-dev libxcb-render-util0 libxcb-render0 libxcb-render0-dev libxcb-shape0 libxcb-shape0-dev libxcb-shm0 libxcb-sync-dev libxcb-sync1 libxcb-util1 libxcb-xfixes0 libxcb-xfixes0-dev libxcb-xinerama0 libxcb-xinput0 libxcb-xkb1 libxcb1 libxcb1-dev libxcursor1 libxdamage-dev libxdamage1 libxdmcp-dev libxdmcp6 libxext-dev libxext6 libxfixes-dev libxfixes3 libxft2 libxinerama1 libxkbcommon-x11-0 libxkbcommon0 libxml-libxml-perl libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-perl libxml2 libxpm4 libxrender1 libxshmfence-dev libxshmfence1 libxxf86vm-dev libxxf86vm1 libyaml-perl m4 man-db mesa-common-dev netbase octave octave-common octave-control perl-openssl-defaults po-debconf sbuild-build-depends-octave-signal-dummy tex-common texinfo ucf x11-common x11proto-core-dev x11proto-damage-dev x11proto-dev x11proto-fixes-dev x11proto-xext-dev x11proto-xf86vidmode-dev xkb-data xorg-sgml-doctools xtrans-dev zlib1g-dev 0 upgraded, 359 newly installed, 0 to remove and 0 not upgraded. Need to get 128 MB of archives. After this operation, 739 MB of additional disk space will be used. Get:1 copy:/<>/resolver-_zYv0F/apt_archive ./ sbuild-build-depends-octave-signal-dummy 0.invalid.0 [900 B] Get:2 http://ftpmaster.internal/ubuntu focal/main i386 libbsd0 i386 0.10.0-1 [49.8 kB] Get:3 http://ftpmaster.internal/ubuntu focal/main i386 bsdmainutils i386 11.1.2ubuntu2 [183 kB] Get:4 http://ftpmaster.internal/ubuntu focal/main i386 libuchardet0 i386 0.0.6-3 [65.2 kB] Get:5 http://ftpmaster.internal/ubuntu focal/main i386 groff-base i386 1.22.4-3 [879 kB] Get:6 http://ftpmaster.internal/ubuntu focal/main i386 libpipeline1 i386 1.5.1-2 [28.0 kB] Get:7 http://ftpmaster.internal/ubuntu focal/main i386 man-db i386 2.9.0-1 [1128 kB] Get:8 http://ftpmaster.internal/ubuntu focal/main i386 ucf all 3.0038+nmu1 [51.6 kB] Get:9 http://ftpmaster.internal/ubuntu focal/main i386 tex-common all 6.12 [32.7 kB] Get:10 http://ftpmaster.internal/ubuntu focal/main i386 libmagic-mgc i386 1:5.37-6 [209 kB] Get:11 http://ftpmaster.internal/ubuntu focal/main i386 libmagic1 i386 1:5.37-6 [81.9 kB] Get:12 http://ftpmaster.internal/ubuntu focal/main i386 file i386 1:5.37-6 [23.2 kB] Get:13 http://ftpmaster.internal/ubuntu focal/main i386 libdbus-1-3 i386 1.12.14-1ubuntu2 [191 kB] Get:14 http://ftpmaster.internal/ubuntu focal/main i386 libelf1 i386 0.176-1.1 [50.1 kB] Get:15 http://ftpmaster.internal/ubuntu focal/main i386 libexpat1 i386 2.2.9-1 [73.7 kB] Get:16 http://ftpmaster.internal/ubuntu focal/main i386 libfribidi0 i386 1.0.7-1 [24.1 kB] Get:17 http://ftpmaster.internal/ubuntu focal-proposed/main i386 libglib2.0-0 i386 2.63.1-1 [1341 kB] Get:18 http://ftpmaster.internal/ubuntu focal/main i386 libicu63 i386 63.2-2 [8442 kB] Get:19 http://ftpmaster.internal/ubuntu focal/main i386 libxml2 i386 2.9.4+dfsg1-7ubuntu5 [686 kB] Get:20 http://ftpmaster.internal/ubuntu focal/main i386 netbase all 5.6 [13.0 kB] Get:21 http://ftpmaster.internal/ubuntu focal/main i386 xkb-data all 2.26-2ubuntu2 [333 kB] Get:22 http://ftpmaster.internal/ubuntu focal/main i386 gettext-base i386 0.19.8.1-9 [51.2 kB] Get:23 http://ftpmaster.internal/ubuntu focal/main i386 libdrm-common all 2.4.99-1ubuntu1 [5244 B] Get:24 http://ftpmaster.internal/ubuntu focal/main i386 libdrm2 i386 2.4.99-1ubuntu1 [34.6 kB] Get:25 http://ftpmaster.internal/ubuntu focal/main i386 libedit2 i386 3.1-20191025-1 [90.7 kB] Get:26 http://ftpmaster.internal/ubuntu focal/main i386 libkrb5support0 i386 1.17-6 [34.5 kB] Get:27 http://ftpmaster.internal/ubuntu focal/main i386 libk5crypto3 i386 1.17-6 [83.9 kB] Get:28 http://ftpmaster.internal/ubuntu focal/main i386 libkeyutils1 i386 1.6-6ubuntu1 [10.6 kB] Get:29 http://ftpmaster.internal/ubuntu focal/main i386 libkrb5-3 i386 1.17-6 [357 kB] Get:30 http://ftpmaster.internal/ubuntu focal/main i386 libgssapi-krb5-2 i386 1.17-6 [131 kB] Get:31 http://ftpmaster.internal/ubuntu focal/main i386 libpsl5 i386 0.20.2-2 [50.7 kB] Get:32 http://ftpmaster.internal/ubuntu focal/main i386 libxau6 i386 1:1.0.9-0ubuntu1 [7804 B] Get:33 http://ftpmaster.internal/ubuntu focal/main i386 libxdmcp6 i386 1:1.1.3-0ubuntu1 [11.0 kB] Get:34 http://ftpmaster.internal/ubuntu focal/main i386 libxcb1 i386 1.13.1-2 [49.9 kB] Get:35 http://ftpmaster.internal/ubuntu focal/main i386 libx11-data all 2:1.6.8-1 [113 kB] Get:36 http://ftpmaster.internal/ubuntu focal/main i386 libx11-6 i386 2:1.6.8-1 [598 kB] Get:37 http://ftpmaster.internal/ubuntu focal/main i386 libxext6 i386 2:1.3.4-0ubuntu1 [31.5 kB] Get:38 http://ftpmaster.internal/ubuntu focal/main i386 libsigsegv2 i386 2.12-2 [14.2 kB] Get:39 http://ftpmaster.internal/ubuntu focal/main i386 m4 i386 1.4.18-4 [202 kB] Get:40 http://ftpmaster.internal/ubuntu focal/main i386 autoconf all 2.69-11ubuntu1 [321 kB] Get:41 http://ftpmaster.internal/ubuntu focal/main i386 autotools-dev all 20180224.1 [39.6 kB] Get:42 http://ftpmaster.internal/ubuntu focal/main i386 automake all 1:1.16.1-4ubuntu3 [522 kB] Get:43 http://ftpmaster.internal/ubuntu focal/main i386 autopoint all 0.19.8.1-9 [412 kB] Get:44 http://ftpmaster.internal/ubuntu focal/main i386 libcapture-tiny-perl all 0.48-1 [20.4 kB] Get:45 http://ftpmaster.internal/ubuntu focal/main i386 libparams-util-perl i386 1.07-3build5 [20.5 kB] Get:46 http://ftpmaster.internal/ubuntu focal/main i386 libsub-install-perl all 0.928-1 [10.5 kB] Get:47 http://ftpmaster.internal/ubuntu focal/main i386 libdata-optlist-perl all 0.110-1 [9956 B] Get:48 http://ftpmaster.internal/ubuntu focal/main i386 libb-hooks-op-check-perl i386 0.22-1build2 [10.4 kB] Get:49 http://ftpmaster.internal/ubuntu focal/main i386 libdynaloader-functions-perl all 0.003-1 [11.9 kB] Get:50 http://ftpmaster.internal/ubuntu focal/main i386 libdevel-callchecker-perl i386 0.008-1build1 [14.5 kB] Get:51 http://ftpmaster.internal/ubuntu focal/main i386 libparams-classify-perl i386 0.015-1build2 [21.8 kB] Get:52 http://ftpmaster.internal/ubuntu focal/main i386 libmodule-runtime-perl all 0.016-1 [16.2 kB] Get:53 http://ftpmaster.internal/ubuntu focal/main i386 libtry-tiny-perl all 0.30-1 [20.5 kB] Get:54 http://ftpmaster.internal/ubuntu focal/main i386 libmodule-implementation-perl all 0.09-1 [12.2 kB] Get:55 http://ftpmaster.internal/ubuntu focal/main i386 libpackage-stash-perl all 0.38-1 [19.1 kB] Get:56 http://ftpmaster.internal/ubuntu focal/universe i386 libclass-load-perl all 0.25-1 [13.5 kB] Get:57 http://ftpmaster.internal/ubuntu focal/main i386 libio-stringy-perl all 2.111-3 [55.8 kB] Get:58 http://ftpmaster.internal/ubuntu focal/main i386 libparams-validate-perl i386 1.29-3 [56.2 kB] Get:59 http://ftpmaster.internal/ubuntu focal/main i386 libsub-exporter-perl all 0.987-1 [44.9 kB] Get:60 http://ftpmaster.internal/ubuntu focal/main i386 libgetopt-long-descriptive-perl all 0.104-1 [24.6 kB] Get:61 http://ftpmaster.internal/ubuntu focal/universe i386 libio-tiecombine-perl all 1.005-1 [12.5 kB] Get:62 http://ftpmaster.internal/ubuntu focal/universe i386 libmodule-pluggable-perl all 5.2-1 [21.9 kB] Get:63 http://ftpmaster.internal/ubuntu focal/universe i386 libstring-rewriteprefix-perl all 0.007-2 [6064 B] Get:64 http://ftpmaster.internal/ubuntu focal/universe i386 libapp-cmd-perl all 0.331-1 [58.6 kB] Get:65 http://ftpmaster.internal/ubuntu focal/universe i386 libboolean-perl all 0.46-1 [8654 B] Get:66 http://ftpmaster.internal/ubuntu focal/universe i386 libcarp-assert-perl all 0.21-1 [16.6 kB] Get:67 http://ftpmaster.internal/ubuntu focal/universe i386 libsub-uplevel-perl all 0.2800-1 [13.5 kB] Get:68 http://ftpmaster.internal/ubuntu focal/universe i386 libtest-exception-perl all 0.43-1 [14.7 kB] Get:69 http://ftpmaster.internal/ubuntu focal/universe i386 libcarp-assert-more-perl all 1.20-1 [15.0 kB] Get:70 http://ftpmaster.internal/ubuntu focal/main i386 libfile-which-perl all 1.23-1 [13.8 kB] Get:71 http://ftpmaster.internal/ubuntu focal/main i386 libfile-homedir-perl all 1.004-1 [37.3 kB] Get:72 http://ftpmaster.internal/ubuntu focal/universe i386 libclone-choose-perl all 0.010-1 [7672 B] Get:73 http://ftpmaster.internal/ubuntu focal/universe i386 libhash-merge-perl all 0.300-1 [12.8 kB] Get:74 http://ftpmaster.internal/ubuntu focal/main i386 libjson-perl all 4.02000-1 [81.0 kB] Get:75 http://ftpmaster.internal/ubuntu focal/main i386 libexporter-tiny-perl all 1.002001-1 [35.5 kB] Get:76 http://ftpmaster.internal/ubuntu focal/main i386 liblist-moreutils-perl i386 0.416-1build5 [56.7 kB] Get:77 http://ftpmaster.internal/ubuntu focal/universe i386 liblog-log4perl-perl all 1.49-1 [344 kB] Get:78 http://ftpmaster.internal/ubuntu focal/universe i386 libmouse-perl i386 2.5.9-1 [158 kB] Get:79 http://ftpmaster.internal/ubuntu focal/universe i386 libmousex-nativetraits-perl all 1.09-2 [66.7 kB] Get:80 http://ftpmaster.internal/ubuntu focal/universe i386 libmousex-strictconstructor-perl all 0.02-2 [4812 B] Get:81 http://ftpmaster.internal/ubuntu focal/universe i386 libparse-recdescent-perl all 1.967015+dfsg-2 [145 kB] Get:82 http://ftpmaster.internal/ubuntu focal/main i386 libpath-tiny-perl all 0.108-1 [42.6 kB] Get:83 http://ftpmaster.internal/ubuntu focal/universe i386 libpod-pom-perl all 2.01-3 [62.6 kB] Get:84 http://ftpmaster.internal/ubuntu focal/universe i386 libregexp-common-perl all 2017060201-1 [168 kB] Get:85 http://ftpmaster.internal/ubuntu focal/universe i386 libconfig-model-perl all 2.136-1 [397 kB] Get:86 http://ftpmaster.internal/ubuntu focal/main i386 libyaml-perl all 1.29-1 [58.1 kB] Get:87 http://ftpmaster.internal/ubuntu focal/universe i386 cme all 1.030-1 [76.0 kB] Get:88 http://ftpmaster.internal/ubuntu focal/main i386 libtool all 2.4.6-11 [194 kB] Get:89 http://ftpmaster.internal/ubuntu focal/main i386 dh-autoreconf all 19 [16.1 kB] Get:90 http://ftpmaster.internal/ubuntu focal/main i386 libdebhelper-perl all 12.7.1ubuntu1 [52.0 kB] Get:91 http://ftpmaster.internal/ubuntu focal/main i386 libarchive-zip-perl all 1.67-1 [90.4 kB] Get:92 http://ftpmaster.internal/ubuntu focal/main i386 libsub-override-perl all 0.09-2 [9532 B] Get:93 http://ftpmaster.internal/ubuntu focal/main i386 libfile-stripnondeterminism-perl all 1.6.2-1 [16.1 kB] Get:94 http://ftpmaster.internal/ubuntu focal/main i386 dh-strip-nondeterminism all 1.6.2-1 [5228 B] Get:95 http://ftpmaster.internal/ubuntu focal/main i386 dwz i386 0.13-2 [150 kB] Get:96 http://ftpmaster.internal/ubuntu focal/main i386 libcroco3 i386 0.6.13-1 [88.7 kB] Get:97 http://ftpmaster.internal/ubuntu focal/main i386 gettext i386 0.19.8.1-9 [905 kB] Get:98 http://ftpmaster.internal/ubuntu focal/main i386 intltool-debian all 0.35.0+20060710.5 [24.9 kB] Get:99 http://ftpmaster.internal/ubuntu focal/main i386 po-debconf all 1.0.21 [233 kB] Get:100 http://ftpmaster.internal/ubuntu focal/main i386 debhelper all 12.7.1ubuntu1 [875 kB] Get:101 http://ftpmaster.internal/ubuntu focal-proposed/main i386 libblas3 i386 3.8.0-8 [133 kB] Get:102 http://ftpmaster.internal/ubuntu focal-proposed/main i386 libgfortran5 i386 9.2.1-18ubuntu1 [600 kB] Get:103 http://ftpmaster.internal/ubuntu focal-proposed/main i386 liblapack3 i386 3.8.0-8 [1916 kB] Get:104 http://ftpmaster.internal/ubuntu focal/universe i386 libarpack2 i386 3.7.0-3 [90.2 kB] Get:105 http://ftpmaster.internal/ubuntu focal/main i386 libsuitesparseconfig5 i386 1:5.4.0+dfsg-1 [9276 B] Get:106 http://ftpmaster.internal/ubuntu focal/main i386 libamd2 i386 1:5.4.0+dfsg-1 [14.1 kB] Get:107 http://ftpmaster.internal/ubuntu focal/main i386 libcamd2 i386 1:5.4.0+dfsg-1 [14.9 kB] Get:108 http://ftpmaster.internal/ubuntu focal/main i386 libccolamd2 i386 1:5.4.0+dfsg-1 [16.1 kB] Get:109 http://ftpmaster.internal/ubuntu focal/main i386 libcolamd2 i386 1:5.4.0+dfsg-1 [12.0 kB] Get:110 http://ftpmaster.internal/ubuntu focal/main i386 libmetis5 i386 5.1.0.dfsg-5 [166 kB] Get:111 http://ftpmaster.internal/ubuntu focal/main i386 libcholmod3 i386 1:5.4.0+dfsg-1 [235 kB] Get:112 http://ftpmaster.internal/ubuntu focal/main i386 libroken18-heimdal i386 7.5.0+dfsg-3build1 [45.4 kB] Get:113 http://ftpmaster.internal/ubuntu focal/main i386 libasn1-8-heimdal i386 7.5.0+dfsg-3build1 [187 kB] Get:114 http://ftpmaster.internal/ubuntu focal/main i386 libheimbase1-heimdal i386 7.5.0+dfsg-3build1 [32.5 kB] Get:115 http://ftpmaster.internal/ubuntu focal/main i386 libhcrypto4-heimdal i386 7.5.0+dfsg-3build1 [94.6 kB] Get:116 http://ftpmaster.internal/ubuntu focal/main i386 libwind0-heimdal i386 7.5.0+dfsg-3build1 [48.3 kB] Get:117 http://ftpmaster.internal/ubuntu focal/main i386 libhx509-5-heimdal i386 7.5.0+dfsg-3build1 [117 kB] Get:118 http://ftpmaster.internal/ubuntu focal/main i386 libkrb5-26-heimdal i386 7.5.0+dfsg-3build1 [232 kB] Get:119 http://ftpmaster.internal/ubuntu focal/main i386 libheimntlm0-heimdal i386 7.5.0+dfsg-3build1 [16.4 kB] Get:120 http://ftpmaster.internal/ubuntu focal/main i386 libgssapi3-heimdal i386 7.5.0+dfsg-3build1 [108 kB] Get:121 http://ftpmaster.internal/ubuntu focal/main i386 libsasl2-modules-db i386 2.1.27+dfsg-1build3 [15.7 kB] Get:122 http://ftpmaster.internal/ubuntu focal/main i386 libsasl2-2 i386 2.1.27+dfsg-1build3 [53.0 kB] Get:123 http://ftpmaster.internal/ubuntu focal/main i386 libldap-common all 2.4.48+dfsg-1ubuntu3 [17.3 kB] Get:124 http://ftpmaster.internal/ubuntu focal/main i386 libldap-2.4-2 i386 2.4.48+dfsg-1ubuntu3 [168 kB] Get:125 http://ftpmaster.internal/ubuntu focal/main i386 libnghttp2-14 i386 1.39.2-1 [86.4 kB] Get:126 http://ftpmaster.internal/ubuntu focal/main i386 librtmp1 i386 2.4+20151223.gitfa8646d.1-2build1 [58.4 kB] Get:127 http://ftpmaster.internal/ubuntu focal/main i386 libssh-4 i386 0.9.0-1ubuntu1 [214 kB] Get:128 http://ftpmaster.internal/ubuntu focal/main i386 libcurl3-gnutls i386 7.65.3-1ubuntu4 [255 kB] Get:129 http://ftpmaster.internal/ubuntu focal/main i386 libcxsparse3 i386 1:5.4.0+dfsg-1 [46.7 kB] Get:130 http://ftpmaster.internal/ubuntu focal/main i386 libfftw3-double3 i386 3.3.8-2 [632 kB] Get:131 http://ftpmaster.internal/ubuntu focal/main i386 libfftw3-single3 i386 3.3.8-2 [645 kB] Get:132 http://ftpmaster.internal/ubuntu focal/main i386 libfreetype6 i386 2.10.1-2 [356 kB] Get:133 http://ftpmaster.internal/ubuntu focal/main i386 fonts-dejavu-core all 2.37-1 [1041 kB] Get:134 http://ftpmaster.internal/ubuntu focal/main i386 fontconfig-config all 2.13.1-2ubuntu2 [28.9 kB] Get:135 http://ftpmaster.internal/ubuntu focal/main i386 libfontconfig1 i386 2.13.1-2ubuntu2 [124 kB] Get:136 http://ftpmaster.internal/ubuntu focal/main i386 libglvnd0 i386 1.1.1-0ubuntu1 [40.0 kB] Get:137 http://ftpmaster.internal/ubuntu focal/main i386 libglapi-mesa i386 19.2.1-1ubuntu1 [26.8 kB] Get:138 http://ftpmaster.internal/ubuntu focal/main i386 libx11-xcb1 i386 2:1.6.8-1 [9248 B] Get:139 http://ftpmaster.internal/ubuntu focal/main i386 libxcb-dri2-0 i386 1.13.1-2 [7248 B] Get:140 http://ftpmaster.internal/ubuntu focal/main i386 libxcb-dri3-0 i386 1.13.1-2 [6936 B] Get:141 http://ftpmaster.internal/ubuntu focal/main i386 libxcb-glx0 i386 1.13.1-2 [23.8 kB] Get:142 http://ftpmaster.internal/ubuntu focal/main i386 libxcb-present0 i386 1.13.1-2 [5712 B] Get:143 http://ftpmaster.internal/ubuntu focal/main i386 libxcb-sync1 i386 1.13.1-2 [9224 B] Get:144 http://ftpmaster.internal/ubuntu focal/main i386 libxdamage1 i386 1:1.1.5-1 [7248 B] Get:145 http://ftpmaster.internal/ubuntu focal/main i386 libxfixes3 i386 1:5.0.3-1 [11.2 kB] Get:146 http://ftpmaster.internal/ubuntu focal/main i386 libxshmfence1 i386 1.3-1 [5180 B] Get:147 http://ftpmaster.internal/ubuntu focal/main i386 libxxf86vm1 i386 1:1.1.4-1build1 [11.0 kB] Get:148 http://ftpmaster.internal/ubuntu focal/main i386 libdrm-amdgpu1 i386 2.4.99-1ubuntu1 [21.3 kB] Get:149 http://ftpmaster.internal/ubuntu focal/main i386 libpciaccess0 i386 0.16-0ubuntu1 [20.0 kB] Get:150 http://ftpmaster.internal/ubuntu focal/main i386 libdrm-intel1 i386 2.4.99-1ubuntu1 [63.2 kB] Get:151 http://ftpmaster.internal/ubuntu focal/main i386 libdrm-nouveau2 i386 2.4.99-1ubuntu1 [18.1 kB] Get:152 http://ftpmaster.internal/ubuntu focal/main i386 libdrm-radeon1 i386 2.4.99-1ubuntu1 [21.2 kB] Get:153 http://ftpmaster.internal/ubuntu focal/main i386 libllvm9 i386 1:9.0.0-3ubuntu2 [14.9 MB] Get:154 http://ftpmaster.internal/ubuntu focal/main i386 libsensors-config all 1:3.5.0-3ubuntu1 [6168 B] Get:155 http://ftpmaster.internal/ubuntu focal/main i386 libsensors5 i386 1:3.5.0-3ubuntu1 [28.0 kB] Get:156 http://ftpmaster.internal/ubuntu focal/main i386 libgl1-mesa-dri i386 19.2.1-1ubuntu1 [9375 kB] Get:157 http://ftpmaster.internal/ubuntu focal/main i386 libglx-mesa0 i386 19.2.1-1ubuntu1 [148 kB] Get:158 http://ftpmaster.internal/ubuntu focal/main i386 libglx0 i386 1.1.1-0ubuntu1 [29.4 kB] Get:159 http://ftpmaster.internal/ubuntu focal/main i386 libgl1 i386 1.1.1-0ubuntu1 [80.4 kB] Get:160 http://ftpmaster.internal/ubuntu focal/universe i386 libgl2ps1.4 i386 1.4.0+dfsg1-2 [38.5 kB] Get:161 http://ftpmaster.internal/ubuntu focal/main i386 libglu1-mesa i386 9.0.1-0ubuntu1 [178 kB] Get:162 http://ftpmaster.internal/ubuntu focal/main i386 libjbig0 i386 2.1-3.1build1 [27.3 kB] Get:163 http://ftpmaster.internal/ubuntu focal/main i386 libjpeg-turbo8 i386 2.0.3-0ubuntu1 [127 kB] Get:164 http://ftpmaster.internal/ubuntu focal/main i386 libjpeg8 i386 8c-2ubuntu8 [2188 B] Get:165 http://ftpmaster.internal/ubuntu focal/main i386 libwebp6 i386 0.6.1-2 [197 kB] Get:166 http://ftpmaster.internal/ubuntu focal-proposed/main i386 libtiff5 i386 4.1.0-1 [174 kB] Get:167 http://ftpmaster.internal/ubuntu focal/main i386 liblcms2-2 i386 2.9-4 [150 kB] Get:168 http://ftpmaster.internal/ubuntu focal/main i386 libwebpmux3 i386 0.6.1-2 [21.0 kB] Get:169 http://ftpmaster.internal/ubuntu focal/main i386 libwmf0.2-7 i386 0.2.8.4-15 [158 kB] Get:170 http://ftpmaster.internal/ubuntu focal/universe i386 libgraphicsmagick-q16-3 i386 1.4+really1.3.33+hg16117-1 [1195 kB] Get:171 http://ftpmaster.internal/ubuntu focal/universe i386 libgraphicsmagick++-q16-12 i386 1.4+really1.3.33+hg16117-1 [113 kB] Get:172 http://ftpmaster.internal/ubuntu focal/universe i386 libaec0 i386 1.0.4-1 [21.4 kB] Get:173 http://ftpmaster.internal/ubuntu focal/universe i386 libsz2 i386 1.0.4-1 [5260 B] Get:174 http://ftpmaster.internal/ubuntu focal/universe i386 libhdf5-103 i386 1.10.4+repack-10 [1281 kB] Get:175 http://ftpmaster.internal/ubuntu focal/universe i386 libqrupdate1 i386 1.1.2-3 [37.5 kB] Get:176 http://ftpmaster.internal/ubuntu focal/main i386 libumfpack5 i386 1:5.4.0+dfsg-1 [133 kB] Get:177 http://ftpmaster.internal/ubuntu focal/universe i386 liboctave7 i386 5.1.0-4 [7869 kB] Get:178 http://ftpmaster.internal/ubuntu focal/main i386 libxrender1 i386 1:0.9.10-1 [19.9 kB] Get:179 http://ftpmaster.internal/ubuntu focal/main i386 libxcursor1 i386 1:1.2.0-2 [21.6 kB] Get:180 http://ftpmaster.internal/ubuntu focal/main i386 libxft2 i386 2.3.3-0ubuntu1 [40.0 kB] Get:181 http://ftpmaster.internal/ubuntu focal/main i386 libxinerama1 i386 2:1.1.4-2 [7164 B] Get:182 http://ftpmaster.internal/ubuntu focal/universe i386 libfltk1.3 i386 1.3.4-10 [572 kB] Get:183 http://ftpmaster.internal/ubuntu focal/universe i386 libfltk-gl1.3 i386 1.3.4-10 [38.8 kB] Get:184 http://ftpmaster.internal/ubuntu focal/main i386 libltdl7 i386 2.4.6-11 [39.9 kB] Get:185 http://ftpmaster.internal/ubuntu focal/universe i386 libglpk40 i386 4.65-2 [398 kB] Get:186 http://ftpmaster.internal/ubuntu focal/main i386 libasound2-data all 1.1.9-0ubuntu1 [42.0 kB] Get:187 http://ftpmaster.internal/ubuntu focal/main i386 libasound2 i386 1.1.9-0ubuntu1 [364 kB] Get:188 http://ftpmaster.internal/ubuntu focal/main i386 libsamplerate0 i386 0.1.9-2 [937 kB] Get:189 http://ftpmaster.internal/ubuntu focal/main i386 libjack-jackd2-0 i386 1.9.12~dfsg-2build1 [292 kB] Get:190 http://ftpmaster.internal/ubuntu focal/universe i386 libportaudio2 i386 19.6.0-1 [67.2 kB] Get:191 http://ftpmaster.internal/ubuntu focal/universe i386 libqhull7 i386 2015.2-4 [162 kB] Get:192 http://ftpmaster.internal/ubuntu focal/universe i386 libqscintilla2-qt5-l10n all 2.10.4+dfsg-2.1ubuntu1 [40.3 kB] Get:193 http://ftpmaster.internal/ubuntu focal/universe i386 libdouble-conversion3 i386 3.1.5-2 [41.8 kB] Get:194 http://ftpmaster.internal/ubuntu focal/main i386 libpcre2-16-0 i386 10.32-5 [170 kB] Get:195 http://ftpmaster.internal/ubuntu focal/universe i386 libqt5core5a i386 5.12.5+dfsg-2 [2616 kB] Get:196 http://ftpmaster.internal/ubuntu focal/main i386 fontconfig i386 2.13.1-2ubuntu2 [171 kB] Get:197 http://ftpmaster.internal/ubuntu focal/main i386 libwayland-server0 i386 1.17.0-1 [30.9 kB] Get:198 http://ftpmaster.internal/ubuntu focal/main i386 libgbm1 i386 19.2.1-1ubuntu1 [29.9 kB] Get:199 http://ftpmaster.internal/ubuntu focal/main i386 libwayland-client0 i386 1.17.0-1 [24.1 kB] Get:200 http://ftpmaster.internal/ubuntu focal/main i386 libxcb-xfixes0 i386 1.13.1-2 [9772 B] Get:201 http://ftpmaster.internal/ubuntu focal/main i386 libegl-mesa0 i386 19.2.1-1ubuntu1 [102 kB] Get:202 http://ftpmaster.internal/ubuntu focal/main i386 libegl1 i386 1.1.1-0ubuntu1 [33.6 kB] Get:203 http://ftpmaster.internal/ubuntu focal/main i386 libgraphite2-3 i386 1.3.13-11 [76.5 kB] Get:204 http://ftpmaster.internal/ubuntu focal-proposed/main i386 libharfbuzz0b i386 2.6.4-1 [406 kB] Get:205 http://ftpmaster.internal/ubuntu focal/main i386 x11-common all 1:7.7+19ubuntu12 [22.4 kB] Get:206 http://ftpmaster.internal/ubuntu focal/main i386 libice6 i386 2:1.0.10-0ubuntu1 [43.4 kB] Get:207 http://ftpmaster.internal/ubuntu focal/main i386 libevdev2 i386 1.8.0+dfsg-2 [30.0 kB] Get:208 http://ftpmaster.internal/ubuntu focal/main i386 libmtdev1 i386 1.1.5-1ubuntu3 [14.2 kB] Get:209 http://ftpmaster.internal/ubuntu focal/main i386 libgudev-1.0-0 i386 1:233-1 [14.5 kB] Get:210 http://ftpmaster.internal/ubuntu focal/main i386 libwacom-common all 1.1-1 [41.1 kB] Get:211 http://ftpmaster.internal/ubuntu focal/main i386 libwacom2 i386 1.1-1 [20.6 kB] Get:212 http://ftpmaster.internal/ubuntu focal/main i386 libinput-bin i386 1.14.3-1 [14.5 kB] Get:213 http://ftpmaster.internal/ubuntu focal/main i386 libinput10 i386 1.14.3-1 [122 kB] Get:214 http://ftpmaster.internal/ubuntu focal/universe i386 libqt5dbus5 i386 5.12.5+dfsg-2 [237 kB] Get:215 http://ftpmaster.internal/ubuntu focal/universe i386 libqt5network5 i386 5.12.5+dfsg-2 [770 kB] Get:216 http://ftpmaster.internal/ubuntu focal/main i386 libsm6 i386 2:1.2.3-1 [16.7 kB] Get:217 http://ftpmaster.internal/ubuntu focal/main i386 libxcb-icccm4 i386 0.4.1-1.1 [11.5 kB] Get:218 http://ftpmaster.internal/ubuntu focal/main i386 libxcb-shm0 i386 1.13.1-2 [5744 B] Get:219 http://ftpmaster.internal/ubuntu focal/main i386 libxcb-util1 i386 0.4.0-0ubuntu3 [11.5 kB] Get:220 http://ftpmaster.internal/ubuntu focal/main i386 libxcb-image0 i386 0.4.0-1build1 [12.7 kB] Get:221 http://ftpmaster.internal/ubuntu focal/main i386 libxcb-keysyms1 i386 0.4.0-1build1 [8664 B] Get:222 http://ftpmaster.internal/ubuntu focal/main i386 libxcb-randr0 i386 1.13.1-2 [17.9 kB] Get:223 http://ftpmaster.internal/ubuntu focal/main i386 libxcb-render0 i386 1.13.1-2 [15.9 kB] Get:224 http://ftpmaster.internal/ubuntu focal/main i386 libxcb-render-util0 i386 0.3.9-1build1 [10.3 kB] Get:225 http://ftpmaster.internal/ubuntu focal/main i386 libxcb-shape0 i386 1.13.1-2 [6120 B] Get:226 http://ftpmaster.internal/ubuntu focal/main i386 libxcb-xinerama0 i386 1.13.1-2 [5424 B] Get:227 http://ftpmaster.internal/ubuntu focal/main i386 libxcb-xinput0 i386 1.13.1-2 [32.8 kB] Get:228 http://ftpmaster.internal/ubuntu focal/main i386 libxcb-xkb1 i386 1.13.1-2 [31.1 kB] Get:229 http://ftpmaster.internal/ubuntu focal/main i386 libxkbcommon0 i386 0.9.1-1 [103 kB] Get:230 http://ftpmaster.internal/ubuntu focal/main i386 libxkbcommon-x11-0 i386 0.9.1-1 [14.5 kB] Get:231 http://ftpmaster.internal/ubuntu focal/universe i386 libqt5gui5 i386 5.12.5+dfsg-2 [5132 kB] Get:232 http://ftpmaster.internal/ubuntu focal/main i386 libavahi-common-data i386 0.7-4ubuntu5 [21.4 kB] Get:233 http://ftpmaster.internal/ubuntu focal/main i386 libavahi-common3 i386 0.7-4ubuntu5 [23.1 kB] Get:234 http://ftpmaster.internal/ubuntu focal/main i386 libavahi-client3 i386 0.7-4ubuntu5 [27.6 kB] Get:235 http://ftpmaster.internal/ubuntu focal/main i386 libcups2 i386 2.3.0-7 [246 kB] Get:236 http://ftpmaster.internal/ubuntu focal/universe i386 libqt5widgets5 i386 5.12.5+dfsg-2 [2576 kB] Get:237 http://ftpmaster.internal/ubuntu focal/universe i386 libqt5printsupport5 i386 5.12.5+dfsg-2 [211 kB] Get:238 http://ftpmaster.internal/ubuntu focal/universe i386 libqscintilla2-qt5-13 i386 2.10.4+dfsg-2.1ubuntu1 [1135 kB] Get:239 http://ftpmaster.internal/ubuntu focal/universe i386 libqt5sql5 i386 5.12.5+dfsg-2 [134 kB] Get:240 http://ftpmaster.internal/ubuntu focal/universe i386 libqt5help5 i386 5.12.5-2 [156 kB] Get:241 http://ftpmaster.internal/ubuntu focal/universe i386 libqt5xml5 i386 5.12.5+dfsg-2 [117 kB] Get:242 http://ftpmaster.internal/ubuntu focal/main i386 libogg0 i386 1.3.4-0ubuntu1 [23.6 kB] Get:243 http://ftpmaster.internal/ubuntu focal/main i386 libflac8 i386 1.3.3-1 [99.5 kB] Get:244 http://ftpmaster.internal/ubuntu focal/main i386 libvorbis0a i386 1.3.6-2 [85.5 kB] Get:245 http://ftpmaster.internal/ubuntu focal/main i386 libvorbisenc2 i386 1.3.6-2 [64.5 kB] Get:246 http://ftpmaster.internal/ubuntu focal/main i386 libsndfile1 i386 1.0.28-6 [191 kB] Get:247 http://ftpmaster.internal/ubuntu focal/universe i386 libtext-unidecode-perl all 1.30-1 [99.0 kB] Get:248 http://ftpmaster.internal/ubuntu focal/main i386 libxml-namespacesupport-perl all 1.12-1 [13.2 kB] Get:249 http://ftpmaster.internal/ubuntu focal/main i386 libxml-sax-base-perl all 1.09-1 [18.8 kB] Get:250 http://ftpmaster.internal/ubuntu focal/main i386 libxml-sax-perl all 1.02+dfsg-1 [56.2 kB] Get:251 http://ftpmaster.internal/ubuntu focal/main i386 libxml-libxml-perl i386 2.0134+dfsg-1build1 [340 kB] Get:252 http://ftpmaster.internal/ubuntu focal/universe i386 texinfo i386 6.6.0.dfsg.1-2ubuntu3 [797 kB] Get:253 http://ftpmaster.internal/ubuntu focal/universe i386 octave-common all 5.1.0-4 [5076 kB] Get:254 http://ftpmaster.internal/ubuntu focal/universe i386 octave i386 5.1.0-4 [2023 kB] Get:255 http://ftpmaster.internal/ubuntu focal/main i386 libncurses-dev i386 6.1+20191019-1ubuntu1 [366 kB] Get:256 http://ftpmaster.internal/ubuntu focal/main i386 libreadline-dev i386 8.0-3 [154 kB] Get:257 http://ftpmaster.internal/ubuntu focal/main i386 zlib1g-dev i386 1:1.2.11.dfsg-1ubuntu3 [175 kB] Get:258 http://ftpmaster.internal/ubuntu focal/main i386 libjpeg-turbo8-dev i386 2.0.3-0ubuntu1 [259 kB] Get:259 http://ftpmaster.internal/ubuntu focal/main i386 libjpeg8-dev i386 8c-2ubuntu8 [1546 B] Get:260 http://ftpmaster.internal/ubuntu focal/main i386 libjpeg-dev i386 8c-2ubuntu8 [1544 B] Get:261 http://ftpmaster.internal/ubuntu focal/universe i386 libaec-dev i386 1.0.4-1 [19.7 kB] Get:262 http://ftpmaster.internal/ubuntu focal/universe i386 hdf5-helpers i386 1.10.4+repack-10 [13.9 kB] Get:263 http://ftpmaster.internal/ubuntu focal/universe i386 libhdf5-cpp-103 i386 1.10.4+repack-10 [131 kB] Get:264 http://ftpmaster.internal/ubuntu focal/universe i386 libhdf5-dev i386 1.10.4+repack-10 [2716 kB] Get:265 http://ftpmaster.internal/ubuntu focal/main i386 xorg-sgml-doctools all 1:1.11-1 [12.9 kB] Get:266 http://ftpmaster.internal/ubuntu focal/main i386 x11proto-dev all 2018.4-4 [251 kB] Get:267 http://ftpmaster.internal/ubuntu focal/main i386 x11proto-core-dev all 2018.4-4 [2620 B] Get:268 http://ftpmaster.internal/ubuntu focal/main i386 libxau-dev i386 1:1.0.9-0ubuntu1 [9924 B] Get:269 http://ftpmaster.internal/ubuntu focal/main i386 libxdmcp-dev i386 1:1.1.3-0ubuntu1 [26.1 kB] Get:270 http://ftpmaster.internal/ubuntu focal/main i386 xtrans-dev all 1.3.5-1build1 [70.7 kB] Get:271 http://ftpmaster.internal/ubuntu focal/main i386 libpthread-stubs0-dev i386 0.4-1 [5380 B] Get:272 http://ftpmaster.internal/ubuntu focal/main i386 libxcb1-dev i386 1.13.1-2 [85.9 kB] Get:273 http://ftpmaster.internal/ubuntu focal/main i386 libx11-dev i386 2:1.6.8-1 [678 kB] Get:274 http://ftpmaster.internal/ubuntu focal/main i386 libdrm-dev i386 2.4.99-1ubuntu1 [125 kB] Get:275 http://ftpmaster.internal/ubuntu focal/main i386 mesa-common-dev i386 19.2.1-1ubuntu1 [660 kB] Get:276 http://ftpmaster.internal/ubuntu focal/main i386 libglvnd-core-dev i386 1.1.1-0ubuntu1 [12.6 kB] Get:277 http://ftpmaster.internal/ubuntu focal/main i386 libgles1 i386 1.1.1-0ubuntu1 [12.0 kB] Get:278 http://ftpmaster.internal/ubuntu focal/main i386 libgles2 i386 1.1.1-0ubuntu1 [17.0 kB] Get:279 http://ftpmaster.internal/ubuntu focal/main i386 libopengl0 i386 1.1.1-0ubuntu1 [29.2 kB] Get:280 http://ftpmaster.internal/ubuntu focal/main i386 libglvnd-dev i386 1.1.1-0ubuntu1 [3400 B] Get:281 http://ftpmaster.internal/ubuntu focal/main i386 libx11-xcb-dev i386 2:1.6.8-1 [9800 B] Get:282 http://ftpmaster.internal/ubuntu focal/main i386 libxcb-dri3-dev i386 1.13.1-2 [7672 B] Get:283 http://ftpmaster.internal/ubuntu focal/main i386 libxcb-render0-dev i386 1.13.1-2 [19.4 kB] Get:284 http://ftpmaster.internal/ubuntu focal/main i386 libxcb-randr0-dev i386 1.13.1-2 [21.9 kB] Get:285 http://ftpmaster.internal/ubuntu focal/main i386 libxcb-shape0-dev i386 1.13.1-2 [7352 B] Get:286 http://ftpmaster.internal/ubuntu focal/main i386 libxcb-xfixes0-dev i386 1.13.1-2 [12.1 kB] Get:287 http://ftpmaster.internal/ubuntu focal/main i386 libxcb-sync-dev i386 1.13.1-2 [11.1 kB] Get:288 http://ftpmaster.internal/ubuntu focal/main i386 libxcb-present-dev i386 1.13.1-2 [7176 B] Get:289 http://ftpmaster.internal/ubuntu focal/main i386 libxshmfence-dev i386 1.3-1 [3896 B] Get:290 http://ftpmaster.internal/ubuntu focal/main i386 libxcb-dri2-0-dev i386 1.13.1-2 [8780 B] Get:291 http://ftpmaster.internal/ubuntu focal/main i386 libxcb-glx0-dev i386 1.13.1-2 [29.3 kB] Get:292 http://ftpmaster.internal/ubuntu focal/main i386 x11proto-fixes-dev all 1:2018.4-4 [2620 B] Get:293 http://ftpmaster.internal/ubuntu focal/main i386 libxfixes-dev i386 1:5.0.3-1 [11.2 kB] Get:294 http://ftpmaster.internal/ubuntu focal/main i386 x11proto-damage-dev all 1:2018.4-4 [2620 B] Get:295 http://ftpmaster.internal/ubuntu focal/main i386 libxdamage-dev i386 1:1.1.5-1 [5460 B] Get:296 http://ftpmaster.internal/ubuntu focal/main i386 x11proto-xext-dev all 2018.4-4 [2620 B] Get:297 http://ftpmaster.internal/ubuntu focal/main i386 libxext-dev i386 2:1.3.4-0ubuntu1 [86.0 kB] Get:298 http://ftpmaster.internal/ubuntu focal/main i386 x11proto-xf86vidmode-dev all 2018.4-4 [2632 B] Get:299 http://ftpmaster.internal/ubuntu focal/main i386 libxxf86vm-dev i386 1:1.1.4-1build1 [14.1 kB] Get:300 http://ftpmaster.internal/ubuntu focal/main i386 libgl1-mesa-dev i386 19.2.1-1ubuntu1 [6172 B] Get:301 http://ftpmaster.internal/ubuntu focal-proposed/main i386 libblas-dev i386 3.8.0-8 [141 kB] Get:302 http://ftpmaster.internal/ubuntu focal-proposed/main i386 liblapack-dev i386 3.8.0-8 [3692 kB] Get:303 http://ftpmaster.internal/ubuntu focal/main i386 libfftw3-long3 i386 3.3.8-2 [319 kB] Get:304 http://ftpmaster.internal/ubuntu focal/main i386 libfftw3-quad3 i386 3.3.8-2 [1756 kB] Get:305 http://ftpmaster.internal/ubuntu focal/main i386 libfftw3-bin i386 3.3.8-2 [34.7 kB] Get:306 http://ftpmaster.internal/ubuntu focal/main i386 libfftw3-dev i386 3.3.8-2 [3150 kB] Get:307 http://ftpmaster.internal/ubuntu focal-proposed/main i386 libgfortran-9-dev i386 9.2.1-18ubuntu1 [664 kB] Get:308 http://ftpmaster.internal/ubuntu focal-proposed/main i386 gfortran-9 i386 9.2.1-18ubuntu1 [9612 kB] Get:309 http://ftpmaster.internal/ubuntu focal/main i386 gfortran i386 4:9.2.1-3.1ubuntu1 [1384 B] Get:310 http://ftpmaster.internal/ubuntu focal/universe i386 liboctave-dev i386 5.1.0-4 [473 kB] Get:311 http://ftpmaster.internal/ubuntu focal/main i386 libencode-locale-perl all 1.05-1 [12.3 kB] Get:312 http://ftpmaster.internal/ubuntu focal/main i386 libtimedate-perl all 2.3000-2 [37.5 kB] Get:313 http://ftpmaster.internal/ubuntu focal/main i386 libhttp-date-perl all 6.02-1 [10.4 kB] Get:314 http://ftpmaster.internal/ubuntu focal/main i386 libfile-listing-perl all 6.04-1 [9774 B] Get:315 http://ftpmaster.internal/ubuntu focal/main i386 libhtml-tagset-perl all 3.20-3 [12.1 kB] Get:316 http://ftpmaster.internal/ubuntu focal/main i386 liburi-perl all 1.76-1 [77.3 kB] Get:317 http://ftpmaster.internal/ubuntu focal/main i386 libhtml-parser-perl i386 3.72-3build3 [87.2 kB] Get:318 http://ftpmaster.internal/ubuntu focal/main i386 libhtml-tree-perl all 5.07-2 [200 kB] Get:319 http://ftpmaster.internal/ubuntu focal/main i386 libio-html-perl all 1.001-1 [14.9 kB] Get:320 http://ftpmaster.internal/ubuntu focal/main i386 liblwp-mediatypes-perl all 6.04-1 [19.5 kB] Get:321 http://ftpmaster.internal/ubuntu focal/main i386 libhttp-message-perl all 6.18-1 [75.3 kB] Get:322 http://ftpmaster.internal/ubuntu focal/main i386 libhttp-cookies-perl all 6.04-2 [17.5 kB] Get:323 http://ftpmaster.internal/ubuntu focal/main i386 libhttp-negotiate-perl all 6.01-1 [12.5 kB] Get:324 http://ftpmaster.internal/ubuntu focal/main i386 perl-openssl-defaults i386 3build1 [7008 B] Get:325 http://ftpmaster.internal/ubuntu focal/main i386 libnet-ssleay-perl i386 1.88-0ubuntu2 [301 kB] Get:326 http://ftpmaster.internal/ubuntu focal/main i386 libio-socket-ssl-perl all 2.066-0ubuntu4 [177 kB] Get:327 http://ftpmaster.internal/ubuntu focal/main i386 libnet-http-perl all 6.19-1 [22.8 kB] Get:328 http://ftpmaster.internal/ubuntu focal/main i386 liblwp-protocol-https-perl all 6.07-2ubuntu2 [8560 B] Get:329 http://ftpmaster.internal/ubuntu focal/main i386 libwww-robotrules-perl all 6.02-1 [12.6 kB] Get:330 http://ftpmaster.internal/ubuntu focal/main i386 libwww-perl all 6.39-1 [139 kB] Get:331 http://ftpmaster.internal/ubuntu focal/main i386 liberror-perl all 0.17028-1 [26.6 kB] Get:332 http://ftpmaster.internal/ubuntu focal/universe i386 libexporter-lite-perl all 0.08-1 [9916 B] Get:333 http://ftpmaster.internal/ubuntu focal/universe i386 libparse-debcontrol-perl all 2.005-4 [24.2 kB] Get:334 http://ftpmaster.internal/ubuntu focal/main i386 libconvert-binhex-perl all 1.125-1 [29.7 kB] Get:335 http://ftpmaster.internal/ubuntu focal/main i386 libnet-smtp-ssl-perl all 1.04-1 [5948 B] Get:336 http://ftpmaster.internal/ubuntu focal/main i386 libmailtools-perl all 2.21-1 [80.7 kB] Get:337 http://ftpmaster.internal/ubuntu focal/main i386 libmime-tools-perl all 5.509-1 [192 kB] Get:338 http://ftpmaster.internal/ubuntu focal/main i386 libnumber-compare-perl all 0.03-1 [7318 B] Get:339 http://ftpmaster.internal/ubuntu focal/main i386 libtext-glob-perl all 0.10-1 [7554 B] Get:340 http://ftpmaster.internal/ubuntu focal/main i386 libfile-find-rule-perl all 0.34-1 [28.3 kB] Get:341 http://ftpmaster.internal/ubuntu focal/universe i386 aglfn all 1.7-3 [29.4 kB] Get:342 http://ftpmaster.internal/ubuntu focal/universe i386 gnuplot-data all 5.2.7+dfsg1-6 [56.5 kB] Get:343 http://ftpmaster.internal/ubuntu focal/main i386 libpixman-1-0 i386 0.38.4-0ubuntu1 [230 kB] Get:344 http://ftpmaster.internal/ubuntu focal/main i386 libcairo2 i386 1.16.0-4 [638 kB] Get:345 http://ftpmaster.internal/ubuntu focal/main i386 libxpm4 i386 1:3.5.12-1 [35.8 kB] Get:346 http://ftpmaster.internal/ubuntu focal/main i386 libgd3 i386 2.2.5-5.2 [123 kB] Get:347 http://ftpmaster.internal/ubuntu focal/main i386 liblua5.3-0 i386 5.3.3-1.1ubuntu1 [139 kB] Get:348 http://ftpmaster.internal/ubuntu focal/main i386 libthai-data all 0.1.28-3 [134 kB] Get:349 http://ftpmaster.internal/ubuntu focal/main i386 libdatrie1 i386 0.2.12-3 [20.2 kB] Get:350 http://ftpmaster.internal/ubuntu focal/main i386 libthai0 i386 0.1.28-3 [19.1 kB] Get:351 http://ftpmaster.internal/ubuntu focal-proposed/main i386 libpango-1.0-0 i386 1.44.7-1 [167 kB] Get:352 http://ftpmaster.internal/ubuntu focal-proposed/main i386 libpangoft2-1.0-0 i386 1.44.7-1 [37.5 kB] Get:353 http://ftpmaster.internal/ubuntu focal-proposed/main i386 libpangocairo-1.0-0 i386 1.44.7-1 [26.1 kB] Get:354 http://ftpmaster.internal/ubuntu focal/universe i386 gnuplot-nox i386 5.2.7+dfsg1-6 [827 kB] Get:355 http://ftpmaster.internal/ubuntu focal/universe i386 fonts-freefont-otf all 20120503-9 [3053 kB] Get:356 http://ftpmaster.internal/ubuntu focal/universe i386 dh-octave-autopkgtest all 0.7.2 [7852 B] Get:357 http://ftpmaster.internal/ubuntu focal/universe i386 dh-octave all 0.7.2 [19.0 kB] Get:358 http://ftpmaster.internal/ubuntu focal/universe i386 libslicot0 i386 5.0+20101122-4 [910 kB] Get:359 http://ftpmaster.internal/ubuntu focal-proposed/universe i386 octave-control i386 3.2.0-3 [286 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 128 MB in 7s (19.1 MB/s) Selecting previously unselected package libbsd0:i386. (Reading database ... 14662 files and directories currently installed.) Preparing to unpack .../000-libbsd0_0.10.0-1_i386.deb ... Unpacking libbsd0:i386 (0.10.0-1) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../001-bsdmainutils_11.1.2ubuntu2_i386.deb ... Unpacking bsdmainutils (11.1.2ubuntu2) ... Selecting previously unselected package libuchardet0:i386. Preparing to unpack .../002-libuchardet0_0.0.6-3_i386.deb ... Unpacking libuchardet0:i386 (0.0.6-3) ... Selecting previously unselected package groff-base. Preparing to unpack .../003-groff-base_1.22.4-3_i386.deb ... Unpacking groff-base (1.22.4-3) ... Selecting previously unselected package libpipeline1:i386. Preparing to unpack .../004-libpipeline1_1.5.1-2_i386.deb ... Unpacking libpipeline1:i386 (1.5.1-2) ... Selecting previously unselected package man-db. Preparing to unpack .../005-man-db_2.9.0-1_i386.deb ... Unpacking man-db (2.9.0-1) ... Selecting previously unselected package ucf. Preparing to unpack .../006-ucf_3.0038+nmu1_all.deb ... Moving old data out of the way Unpacking ucf (3.0038+nmu1) ... Selecting previously unselected package tex-common. Preparing to unpack .../007-tex-common_6.12_all.deb ... Unpacking tex-common (6.12) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../008-libmagic-mgc_1%3a5.37-6_i386.deb ... Unpacking libmagic-mgc (1:5.37-6) ... Selecting previously unselected package libmagic1:i386. Preparing to unpack .../009-libmagic1_1%3a5.37-6_i386.deb ... Unpacking libmagic1:i386 (1:5.37-6) ... Selecting previously unselected package file. Preparing to unpack .../010-file_1%3a5.37-6_i386.deb ... Unpacking file (1:5.37-6) ... Selecting previously unselected package libdbus-1-3:i386. Preparing to unpack .../011-libdbus-1-3_1.12.14-1ubuntu2_i386.deb ... Unpacking libdbus-1-3:i386 (1.12.14-1ubuntu2) ... Selecting previously unselected package libelf1:i386. Preparing to unpack .../012-libelf1_0.176-1.1_i386.deb ... Unpacking libelf1:i386 (0.176-1.1) ... Selecting previously unselected package libexpat1:i386. Preparing to unpack .../013-libexpat1_2.2.9-1_i386.deb ... Unpacking libexpat1:i386 (2.2.9-1) ... Selecting previously unselected package libfribidi0:i386. Preparing to unpack .../014-libfribidi0_1.0.7-1_i386.deb ... Unpacking libfribidi0:i386 (1.0.7-1) ... Selecting previously unselected package libglib2.0-0:i386. Preparing to unpack .../015-libglib2.0-0_2.63.1-1_i386.deb ... Unpacking libglib2.0-0:i386 (2.63.1-1) ... Selecting previously unselected package libicu63:i386. Preparing to unpack .../016-libicu63_63.2-2_i386.deb ... Unpacking libicu63:i386 (63.2-2) ... Selecting previously unselected package libxml2:i386. Preparing to unpack .../017-libxml2_2.9.4+dfsg1-7ubuntu5_i386.deb ... Unpacking libxml2:i386 (2.9.4+dfsg1-7ubuntu5) ... Selecting previously unselected package netbase. Preparing to unpack .../018-netbase_5.6_all.deb ... Unpacking netbase (5.6) ... Selecting previously unselected package xkb-data. Preparing to unpack .../019-xkb-data_2.26-2ubuntu2_all.deb ... Unpacking xkb-data (2.26-2ubuntu2) ... Selecting previously unselected package gettext-base. Preparing to unpack .../020-gettext-base_0.19.8.1-9_i386.deb ... Unpacking gettext-base (0.19.8.1-9) ... Selecting previously unselected package libdrm-common. Preparing to unpack .../021-libdrm-common_2.4.99-1ubuntu1_all.deb ... Unpacking libdrm-common (2.4.99-1ubuntu1) ... Selecting previously unselected package libdrm2:i386. Preparing to unpack .../022-libdrm2_2.4.99-1ubuntu1_i386.deb ... Unpacking libdrm2:i386 (2.4.99-1ubuntu1) ... Selecting previously unselected package libedit2:i386. Preparing to unpack .../023-libedit2_3.1-20191025-1_i386.deb ... Unpacking libedit2:i386 (3.1-20191025-1) ... Selecting previously unselected package libkrb5support0:i386. Preparing to unpack .../024-libkrb5support0_1.17-6_i386.deb ... Unpacking libkrb5support0:i386 (1.17-6) ... Selecting previously unselected package libk5crypto3:i386. Preparing to unpack .../025-libk5crypto3_1.17-6_i386.deb ... Unpacking libk5crypto3:i386 (1.17-6) ... Selecting previously unselected package libkeyutils1:i386. Preparing to unpack .../026-libkeyutils1_1.6-6ubuntu1_i386.deb ... Unpacking libkeyutils1:i386 (1.6-6ubuntu1) ... Selecting previously unselected package libkrb5-3:i386. Preparing to unpack .../027-libkrb5-3_1.17-6_i386.deb ... Unpacking libkrb5-3:i386 (1.17-6) ... Selecting previously unselected package libgssapi-krb5-2:i386. Preparing to unpack .../028-libgssapi-krb5-2_1.17-6_i386.deb ... Unpacking libgssapi-krb5-2:i386 (1.17-6) ... Selecting previously unselected package libpsl5:i386. Preparing to unpack .../029-libpsl5_0.20.2-2_i386.deb ... Unpacking libpsl5:i386 (0.20.2-2) ... Selecting previously unselected package libxau6:i386. Preparing to unpack .../030-libxau6_1%3a1.0.9-0ubuntu1_i386.deb ... Unpacking libxau6:i386 (1:1.0.9-0ubuntu1) ... Selecting previously unselected package libxdmcp6:i386. Preparing to unpack .../031-libxdmcp6_1%3a1.1.3-0ubuntu1_i386.deb ... Unpacking libxdmcp6:i386 (1:1.1.3-0ubuntu1) ... Selecting previously unselected package libxcb1:i386. Preparing to unpack .../032-libxcb1_1.13.1-2_i386.deb ... Unpacking libxcb1:i386 (1.13.1-2) ... Selecting previously unselected package libx11-data. Preparing to unpack .../033-libx11-data_2%3a1.6.8-1_all.deb ... Unpacking libx11-data (2:1.6.8-1) ... Selecting previously unselected package libx11-6:i386. Preparing to unpack .../034-libx11-6_2%3a1.6.8-1_i386.deb ... Unpacking libx11-6:i386 (2:1.6.8-1) ... Selecting previously unselected package libxext6:i386. Preparing to unpack .../035-libxext6_2%3a1.3.4-0ubuntu1_i386.deb ... Unpacking libxext6:i386 (2:1.3.4-0ubuntu1) ... Selecting previously unselected package libsigsegv2:i386. Preparing to unpack .../036-libsigsegv2_2.12-2_i386.deb ... Unpacking libsigsegv2:i386 (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../037-m4_1.4.18-4_i386.deb ... Unpacking m4 (1.4.18-4) ... Selecting previously unselected package autoconf. Preparing to unpack .../038-autoconf_2.69-11ubuntu1_all.deb ... Unpacking autoconf (2.69-11ubuntu1) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../039-autotools-dev_20180224.1_all.deb ... Unpacking autotools-dev (20180224.1) ... Selecting previously unselected package automake. Preparing to unpack .../040-automake_1%3a1.16.1-4ubuntu3_all.deb ... Unpacking automake (1:1.16.1-4ubuntu3) ... Selecting previously unselected package autopoint. Preparing to unpack .../041-autopoint_0.19.8.1-9_all.deb ... Unpacking autopoint (0.19.8.1-9) ... Selecting previously unselected package libcapture-tiny-perl. Preparing to unpack .../042-libcapture-tiny-perl_0.48-1_all.deb ... Unpacking libcapture-tiny-perl (0.48-1) ... Selecting previously unselected package libparams-util-perl. Preparing to unpack .../043-libparams-util-perl_1.07-3build5_i386.deb ... Unpacking libparams-util-perl (1.07-3build5) ... Selecting previously unselected package libsub-install-perl. Preparing to unpack .../044-libsub-install-perl_0.928-1_all.deb ... Unpacking libsub-install-perl (0.928-1) ... Selecting previously unselected package libdata-optlist-perl. Preparing to unpack .../045-libdata-optlist-perl_0.110-1_all.deb ... Unpacking libdata-optlist-perl (0.110-1) ... Selecting previously unselected package libb-hooks-op-check-perl. Preparing to unpack .../046-libb-hooks-op-check-perl_0.22-1build2_i386.deb ... Unpacking libb-hooks-op-check-perl (0.22-1build2) ... Selecting previously unselected package libdynaloader-functions-perl. Preparing to unpack .../047-libdynaloader-functions-perl_0.003-1_all.deb ... Unpacking libdynaloader-functions-perl (0.003-1) ... Selecting previously unselected package libdevel-callchecker-perl. Preparing to unpack .../048-libdevel-callchecker-perl_0.008-1build1_i386.deb ... Unpacking libdevel-callchecker-perl (0.008-1build1) ... Selecting previously unselected package libparams-classify-perl. Preparing to unpack .../049-libparams-classify-perl_0.015-1build2_i386.deb ... Unpacking libparams-classify-perl (0.015-1build2) ... Selecting previously unselected package libmodule-runtime-perl. Preparing to unpack .../050-libmodule-runtime-perl_0.016-1_all.deb ... Unpacking libmodule-runtime-perl (0.016-1) ... Selecting previously unselected package libtry-tiny-perl. Preparing to unpack .../051-libtry-tiny-perl_0.30-1_all.deb ... Unpacking libtry-tiny-perl (0.30-1) ... Selecting previously unselected package libmodule-implementation-perl. Preparing to unpack .../052-libmodule-implementation-perl_0.09-1_all.deb ... Unpacking libmodule-implementation-perl (0.09-1) ... Selecting previously unselected package libpackage-stash-perl. Preparing to unpack .../053-libpackage-stash-perl_0.38-1_all.deb ... Unpacking libpackage-stash-perl (0.38-1) ... Selecting previously unselected package libclass-load-perl. Preparing to unpack .../054-libclass-load-perl_0.25-1_all.deb ... Unpacking libclass-load-perl (0.25-1) ... Selecting previously unselected package libio-stringy-perl. Preparing to unpack .../055-libio-stringy-perl_2.111-3_all.deb ... Unpacking libio-stringy-perl (2.111-3) ... Selecting previously unselected package libparams-validate-perl. Preparing to unpack .../056-libparams-validate-perl_1.29-3_i386.deb ... Unpacking libparams-validate-perl (1.29-3) ... Selecting previously unselected package libsub-exporter-perl. Preparing to unpack .../057-libsub-exporter-perl_0.987-1_all.deb ... Unpacking libsub-exporter-perl (0.987-1) ... Selecting previously unselected package libgetopt-long-descriptive-perl. Preparing to unpack .../058-libgetopt-long-descriptive-perl_0.104-1_all.deb ... Unpacking libgetopt-long-descriptive-perl (0.104-1) ... Selecting previously unselected package libio-tiecombine-perl. Preparing to unpack .../059-libio-tiecombine-perl_1.005-1_all.deb ... Unpacking libio-tiecombine-perl (1.005-1) ... Selecting previously unselected package libmodule-pluggable-perl. Preparing to unpack .../060-libmodule-pluggable-perl_5.2-1_all.deb ... Unpacking libmodule-pluggable-perl (5.2-1) ... Selecting previously unselected package libstring-rewriteprefix-perl. Preparing to unpack .../061-libstring-rewriteprefix-perl_0.007-2_all.deb ... Unpacking libstring-rewriteprefix-perl (0.007-2) ... Selecting previously unselected package libapp-cmd-perl. Preparing to unpack .../062-libapp-cmd-perl_0.331-1_all.deb ... Unpacking libapp-cmd-perl (0.331-1) ... Selecting previously unselected package libboolean-perl. Preparing to unpack .../063-libboolean-perl_0.46-1_all.deb ... Unpacking libboolean-perl (0.46-1) ... Selecting previously unselected package libcarp-assert-perl. Preparing to unpack .../064-libcarp-assert-perl_0.21-1_all.deb ... Unpacking libcarp-assert-perl (0.21-1) ... Selecting previously unselected package libsub-uplevel-perl. Preparing to unpack .../065-libsub-uplevel-perl_0.2800-1_all.deb ... Unpacking libsub-uplevel-perl (0.2800-1) ... Selecting previously unselected package libtest-exception-perl. Preparing to unpack .../066-libtest-exception-perl_0.43-1_all.deb ... Unpacking libtest-exception-perl (0.43-1) ... Selecting previously unselected package libcarp-assert-more-perl. Preparing to unpack .../067-libcarp-assert-more-perl_1.20-1_all.deb ... Unpacking libcarp-assert-more-perl (1.20-1) ... Selecting previously unselected package libfile-which-perl. Preparing to unpack .../068-libfile-which-perl_1.23-1_all.deb ... Unpacking libfile-which-perl (1.23-1) ... Selecting previously unselected package libfile-homedir-perl. Preparing to unpack .../069-libfile-homedir-perl_1.004-1_all.deb ... Unpacking libfile-homedir-perl (1.004-1) ... Selecting previously unselected package libclone-choose-perl. Preparing to unpack .../070-libclone-choose-perl_0.010-1_all.deb ... Unpacking libclone-choose-perl (0.010-1) ... Selecting previously unselected package libhash-merge-perl. Preparing to unpack .../071-libhash-merge-perl_0.300-1_all.deb ... Unpacking libhash-merge-perl (0.300-1) ... Selecting previously unselected package libjson-perl. Preparing to unpack .../072-libjson-perl_4.02000-1_all.deb ... Unpacking libjson-perl (4.02000-1) ... Selecting previously unselected package libexporter-tiny-perl. Preparing to unpack .../073-libexporter-tiny-perl_1.002001-1_all.deb ... Unpacking libexporter-tiny-perl (1.002001-1) ... Selecting previously unselected package liblist-moreutils-perl. Preparing to unpack .../074-liblist-moreutils-perl_0.416-1build5_i386.deb ... Unpacking liblist-moreutils-perl (0.416-1build5) ... Selecting previously unselected package liblog-log4perl-perl. Preparing to unpack .../075-liblog-log4perl-perl_1.49-1_all.deb ... Unpacking liblog-log4perl-perl (1.49-1) ... Selecting previously unselected package libmouse-perl. Preparing to unpack .../076-libmouse-perl_2.5.9-1_i386.deb ... Unpacking libmouse-perl (2.5.9-1) ... Selecting previously unselected package libmousex-nativetraits-perl. Preparing to unpack .../077-libmousex-nativetraits-perl_1.09-2_all.deb ... Unpacking libmousex-nativetraits-perl (1.09-2) ... Selecting previously unselected package libmousex-strictconstructor-perl. Preparing to unpack .../078-libmousex-strictconstructor-perl_0.02-2_all.deb ... Unpacking libmousex-strictconstructor-perl (0.02-2) ... Selecting previously unselected package libparse-recdescent-perl. Preparing to unpack .../079-libparse-recdescent-perl_1.967015+dfsg-2_all.deb ... Unpacking libparse-recdescent-perl (1.967015+dfsg-2) ... Selecting previously unselected package libpath-tiny-perl. Preparing to unpack .../080-libpath-tiny-perl_0.108-1_all.deb ... Unpacking libpath-tiny-perl (0.108-1) ... Selecting previously unselected package libpod-pom-perl. Preparing to unpack .../081-libpod-pom-perl_2.01-3_all.deb ... Unpacking libpod-pom-perl (2.01-3) ... Selecting previously unselected package libregexp-common-perl. Preparing to unpack .../082-libregexp-common-perl_2017060201-1_all.deb ... Unpacking libregexp-common-perl (2017060201-1) ... Selecting previously unselected package libconfig-model-perl. Preparing to unpack .../083-libconfig-model-perl_2.136-1_all.deb ... Unpacking libconfig-model-perl (2.136-1) ... Selecting previously unselected package libyaml-perl. Preparing to unpack .../084-libyaml-perl_1.29-1_all.deb ... Unpacking libyaml-perl (1.29-1) ... Selecting previously unselected package cme. Preparing to unpack .../085-cme_1.030-1_all.deb ... Unpacking cme (1.030-1) ... Selecting previously unselected package libtool. Preparing to unpack .../086-libtool_2.4.6-11_all.deb ... Unpacking libtool (2.4.6-11) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../087-dh-autoreconf_19_all.deb ... Unpacking dh-autoreconf (19) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../088-libdebhelper-perl_12.7.1ubuntu1_all.deb ... Unpacking libdebhelper-perl (12.7.1ubuntu1) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../089-libarchive-zip-perl_1.67-1_all.deb ... Unpacking libarchive-zip-perl (1.67-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../090-libsub-override-perl_0.09-2_all.deb ... Unpacking libsub-override-perl (0.09-2) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../091-libfile-stripnondeterminism-perl_1.6.2-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.6.2-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../092-dh-strip-nondeterminism_1.6.2-1_all.deb ... Unpacking dh-strip-nondeterminism (1.6.2-1) ... Selecting previously unselected package dwz. Preparing to unpack .../093-dwz_0.13-2_i386.deb ... Unpacking dwz (0.13-2) ... Selecting previously unselected package libcroco3:i386. Preparing to unpack .../094-libcroco3_0.6.13-1_i386.deb ... Unpacking libcroco3:i386 (0.6.13-1) ... Selecting previously unselected package gettext. Preparing to unpack .../095-gettext_0.19.8.1-9_i386.deb ... Unpacking gettext (0.19.8.1-9) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../096-intltool-debian_0.35.0+20060710.5_all.deb ... Unpacking intltool-debian (0.35.0+20060710.5) ... Selecting previously unselected package po-debconf. Preparing to unpack .../097-po-debconf_1.0.21_all.deb ... Unpacking po-debconf (1.0.21) ... Selecting previously unselected package debhelper. Preparing to unpack .../098-debhelper_12.7.1ubuntu1_all.deb ... Unpacking debhelper (12.7.1ubuntu1) ... Selecting previously unselected package libblas3:i386. Preparing to unpack .../099-libblas3_3.8.0-8_i386.deb ... Unpacking libblas3:i386 (3.8.0-8) ... Selecting previously unselected package libgfortran5:i386. Preparing to unpack .../100-libgfortran5_9.2.1-18ubuntu1_i386.deb ... Unpacking libgfortran5:i386 (9.2.1-18ubuntu1) ... Selecting previously unselected package liblapack3:i386. Preparing to unpack .../101-liblapack3_3.8.0-8_i386.deb ... Unpacking liblapack3:i386 (3.8.0-8) ... Selecting previously unselected package libarpack2:i386. Preparing to unpack .../102-libarpack2_3.7.0-3_i386.deb ... Unpacking libarpack2:i386 (3.7.0-3) ... Selecting previously unselected package libsuitesparseconfig5:i386. Preparing to unpack .../103-libsuitesparseconfig5_1%3a5.4.0+dfsg-1_i386.deb ... Unpacking libsuitesparseconfig5:i386 (1:5.4.0+dfsg-1) ... Selecting previously unselected package libamd2:i386. Preparing to unpack .../104-libamd2_1%3a5.4.0+dfsg-1_i386.deb ... Unpacking libamd2:i386 (1:5.4.0+dfsg-1) ... Selecting previously unselected package libcamd2:i386. Preparing to unpack .../105-libcamd2_1%3a5.4.0+dfsg-1_i386.deb ... Unpacking libcamd2:i386 (1:5.4.0+dfsg-1) ... Selecting previously unselected package libccolamd2:i386. Preparing to unpack .../106-libccolamd2_1%3a5.4.0+dfsg-1_i386.deb ... Unpacking libccolamd2:i386 (1:5.4.0+dfsg-1) ... Selecting previously unselected package libcolamd2:i386. Preparing to unpack .../107-libcolamd2_1%3a5.4.0+dfsg-1_i386.deb ... Unpacking libcolamd2:i386 (1:5.4.0+dfsg-1) ... Selecting previously unselected package libmetis5:i386. Preparing to unpack .../108-libmetis5_5.1.0.dfsg-5_i386.deb ... Unpacking libmetis5:i386 (5.1.0.dfsg-5) ... Selecting previously unselected package libcholmod3:i386. Preparing to unpack .../109-libcholmod3_1%3a5.4.0+dfsg-1_i386.deb ... Unpacking libcholmod3:i386 (1:5.4.0+dfsg-1) ... Selecting previously unselected package libroken18-heimdal:i386. Preparing to unpack .../110-libroken18-heimdal_7.5.0+dfsg-3build1_i386.deb ... Unpacking libroken18-heimdal:i386 (7.5.0+dfsg-3build1) ... Selecting previously unselected package libasn1-8-heimdal:i386. Preparing to unpack .../111-libasn1-8-heimdal_7.5.0+dfsg-3build1_i386.deb ... Unpacking libasn1-8-heimdal:i386 (7.5.0+dfsg-3build1) ... Selecting previously unselected package libheimbase1-heimdal:i386. Preparing to unpack .../112-libheimbase1-heimdal_7.5.0+dfsg-3build1_i386.deb ... Unpacking libheimbase1-heimdal:i386 (7.5.0+dfsg-3build1) ... Selecting previously unselected package libhcrypto4-heimdal:i386. Preparing to unpack .../113-libhcrypto4-heimdal_7.5.0+dfsg-3build1_i386.deb ... Unpacking libhcrypto4-heimdal:i386 (7.5.0+dfsg-3build1) ... Selecting previously unselected package libwind0-heimdal:i386. Preparing to unpack .../114-libwind0-heimdal_7.5.0+dfsg-3build1_i386.deb ... Unpacking libwind0-heimdal:i386 (7.5.0+dfsg-3build1) ... Selecting previously unselected package libhx509-5-heimdal:i386. Preparing to unpack .../115-libhx509-5-heimdal_7.5.0+dfsg-3build1_i386.deb ... Unpacking libhx509-5-heimdal:i386 (7.5.0+dfsg-3build1) ... Selecting previously unselected package libkrb5-26-heimdal:i386. Preparing to unpack .../116-libkrb5-26-heimdal_7.5.0+dfsg-3build1_i386.deb ... Unpacking libkrb5-26-heimdal:i386 (7.5.0+dfsg-3build1) ... Selecting previously unselected package libheimntlm0-heimdal:i386. Preparing to unpack .../117-libheimntlm0-heimdal_7.5.0+dfsg-3build1_i386.deb ... Unpacking libheimntlm0-heimdal:i386 (7.5.0+dfsg-3build1) ... Selecting previously unselected package libgssapi3-heimdal:i386. Preparing to unpack .../118-libgssapi3-heimdal_7.5.0+dfsg-3build1_i386.deb ... Unpacking libgssapi3-heimdal:i386 (7.5.0+dfsg-3build1) ... Selecting previously unselected package libsasl2-modules-db:i386. Preparing to unpack .../119-libsasl2-modules-db_2.1.27+dfsg-1build3_i386.deb ... Unpacking libsasl2-modules-db:i386 (2.1.27+dfsg-1build3) ... Selecting previously unselected package libsasl2-2:i386. Preparing to unpack .../120-libsasl2-2_2.1.27+dfsg-1build3_i386.deb ... Unpacking libsasl2-2:i386 (2.1.27+dfsg-1build3) ... Selecting previously unselected package libldap-common. Preparing to unpack .../121-libldap-common_2.4.48+dfsg-1ubuntu3_all.deb ... Unpacking libldap-common (2.4.48+dfsg-1ubuntu3) ... Selecting previously unselected package libldap-2.4-2:i386. Preparing to unpack .../122-libldap-2.4-2_2.4.48+dfsg-1ubuntu3_i386.deb ... Unpacking libldap-2.4-2:i386 (2.4.48+dfsg-1ubuntu3) ... Selecting previously unselected package libnghttp2-14:i386. Preparing to unpack .../123-libnghttp2-14_1.39.2-1_i386.deb ... Unpacking libnghttp2-14:i386 (1.39.2-1) ... Selecting previously unselected package librtmp1:i386. Preparing to unpack .../124-librtmp1_2.4+20151223.gitfa8646d.1-2build1_i386.deb ... Unpacking librtmp1:i386 (2.4+20151223.gitfa8646d.1-2build1) ... Selecting previously unselected package libssh-4:i386. Preparing to unpack .../125-libssh-4_0.9.0-1ubuntu1_i386.deb ... Unpacking libssh-4:i386 (0.9.0-1ubuntu1) ... Selecting previously unselected package libcurl3-gnutls:i386. Preparing to unpack .../126-libcurl3-gnutls_7.65.3-1ubuntu4_i386.deb ... Unpacking libcurl3-gnutls:i386 (7.65.3-1ubuntu4) ... Selecting previously unselected package libcxsparse3:i386. Preparing to unpack .../127-libcxsparse3_1%3a5.4.0+dfsg-1_i386.deb ... Unpacking libcxsparse3:i386 (1:5.4.0+dfsg-1) ... Selecting previously unselected package libfftw3-double3:i386. Preparing to unpack .../128-libfftw3-double3_3.3.8-2_i386.deb ... Unpacking libfftw3-double3:i386 (3.3.8-2) ... Selecting previously unselected package libfftw3-single3:i386. Preparing to unpack .../129-libfftw3-single3_3.3.8-2_i386.deb ... Unpacking libfftw3-single3:i386 (3.3.8-2) ... Selecting previously unselected package libfreetype6:i386. Preparing to unpack .../130-libfreetype6_2.10.1-2_i386.deb ... Unpacking libfreetype6:i386 (2.10.1-2) ... Selecting previously unselected package fonts-dejavu-core. Preparing to unpack .../131-fonts-dejavu-core_2.37-1_all.deb ... Unpacking fonts-dejavu-core (2.37-1) ... Selecting previously unselected package fontconfig-config. Preparing to unpack .../132-fontconfig-config_2.13.1-2ubuntu2_all.deb ... Unpacking fontconfig-config (2.13.1-2ubuntu2) ... Selecting previously unselected package libfontconfig1:i386. Preparing to unpack .../133-libfontconfig1_2.13.1-2ubuntu2_i386.deb ... Unpacking libfontconfig1:i386 (2.13.1-2ubuntu2) ... Selecting previously unselected package libglvnd0:i386. Preparing to unpack .../134-libglvnd0_1.1.1-0ubuntu1_i386.deb ... Unpacking libglvnd0:i386 (1.1.1-0ubuntu1) ... Selecting previously unselected package libglapi-mesa:i386. Preparing to unpack .../135-libglapi-mesa_19.2.1-1ubuntu1_i386.deb ... Unpacking libglapi-mesa:i386 (19.2.1-1ubuntu1) ... Selecting previously unselected package libx11-xcb1:i386. Preparing to unpack .../136-libx11-xcb1_2%3a1.6.8-1_i386.deb ... Unpacking libx11-xcb1:i386 (2:1.6.8-1) ... Selecting previously unselected package libxcb-dri2-0:i386. Preparing to unpack .../137-libxcb-dri2-0_1.13.1-2_i386.deb ... Unpacking libxcb-dri2-0:i386 (1.13.1-2) ... Selecting previously unselected package libxcb-dri3-0:i386. Preparing to unpack .../138-libxcb-dri3-0_1.13.1-2_i386.deb ... Unpacking libxcb-dri3-0:i386 (1.13.1-2) ... Selecting previously unselected package libxcb-glx0:i386. Preparing to unpack .../139-libxcb-glx0_1.13.1-2_i386.deb ... Unpacking libxcb-glx0:i386 (1.13.1-2) ... Selecting previously unselected package libxcb-present0:i386. Preparing to unpack .../140-libxcb-present0_1.13.1-2_i386.deb ... Unpacking libxcb-present0:i386 (1.13.1-2) ... Selecting previously unselected package libxcb-sync1:i386. Preparing to unpack .../141-libxcb-sync1_1.13.1-2_i386.deb ... Unpacking libxcb-sync1:i386 (1.13.1-2) ... Selecting previously unselected package libxdamage1:i386. Preparing to unpack .../142-libxdamage1_1%3a1.1.5-1_i386.deb ... Unpacking libxdamage1:i386 (1:1.1.5-1) ... Selecting previously unselected package libxfixes3:i386. Preparing to unpack .../143-libxfixes3_1%3a5.0.3-1_i386.deb ... Unpacking libxfixes3:i386 (1:5.0.3-1) ... Selecting previously unselected package libxshmfence1:i386. Preparing to unpack .../144-libxshmfence1_1.3-1_i386.deb ... Unpacking libxshmfence1:i386 (1.3-1) ... Selecting previously unselected package libxxf86vm1:i386. Preparing to unpack .../145-libxxf86vm1_1%3a1.1.4-1build1_i386.deb ... Unpacking libxxf86vm1:i386 (1:1.1.4-1build1) ... Selecting previously unselected package libdrm-amdgpu1:i386. Preparing to unpack .../146-libdrm-amdgpu1_2.4.99-1ubuntu1_i386.deb ... Unpacking libdrm-amdgpu1:i386 (2.4.99-1ubuntu1) ... Selecting previously unselected package libpciaccess0:i386. Preparing to unpack .../147-libpciaccess0_0.16-0ubuntu1_i386.deb ... Unpacking libpciaccess0:i386 (0.16-0ubuntu1) ... Selecting previously unselected package libdrm-intel1:i386. Preparing to unpack .../148-libdrm-intel1_2.4.99-1ubuntu1_i386.deb ... Unpacking libdrm-intel1:i386 (2.4.99-1ubuntu1) ... Selecting previously unselected package libdrm-nouveau2:i386. Preparing to unpack .../149-libdrm-nouveau2_2.4.99-1ubuntu1_i386.deb ... Unpacking libdrm-nouveau2:i386 (2.4.99-1ubuntu1) ... Selecting previously unselected package libdrm-radeon1:i386. Preparing to unpack .../150-libdrm-radeon1_2.4.99-1ubuntu1_i386.deb ... Unpacking libdrm-radeon1:i386 (2.4.99-1ubuntu1) ... Selecting previously unselected package libllvm9:i386. Preparing to unpack .../151-libllvm9_1%3a9.0.0-3ubuntu2_i386.deb ... Unpacking libllvm9:i386 (1:9.0.0-3ubuntu2) ... Selecting previously unselected package libsensors-config. Preparing to unpack .../152-libsensors-config_1%3a3.5.0-3ubuntu1_all.deb ... Unpacking libsensors-config (1:3.5.0-3ubuntu1) ... Selecting previously unselected package libsensors5:i386. Preparing to unpack .../153-libsensors5_1%3a3.5.0-3ubuntu1_i386.deb ... Unpacking libsensors5:i386 (1:3.5.0-3ubuntu1) ... Selecting previously unselected package libgl1-mesa-dri:i386. Preparing to unpack .../154-libgl1-mesa-dri_19.2.1-1ubuntu1_i386.deb ... Unpacking libgl1-mesa-dri:i386 (19.2.1-1ubuntu1) ... Selecting previously unselected package libglx-mesa0:i386. Preparing to unpack .../155-libglx-mesa0_19.2.1-1ubuntu1_i386.deb ... Unpacking libglx-mesa0:i386 (19.2.1-1ubuntu1) ... Selecting previously unselected package libglx0:i386. Preparing to unpack .../156-libglx0_1.1.1-0ubuntu1_i386.deb ... Unpacking libglx0:i386 (1.1.1-0ubuntu1) ... Selecting previously unselected package libgl1:i386. Preparing to unpack .../157-libgl1_1.1.1-0ubuntu1_i386.deb ... Unpacking libgl1:i386 (1.1.1-0ubuntu1) ... Selecting previously unselected package libgl2ps1.4. Preparing to unpack .../158-libgl2ps1.4_1.4.0+dfsg1-2_i386.deb ... Unpacking libgl2ps1.4 (1.4.0+dfsg1-2) ... Selecting previously unselected package libglu1-mesa:i386. Preparing to unpack .../159-libglu1-mesa_9.0.1-0ubuntu1_i386.deb ... Unpacking libglu1-mesa:i386 (9.0.1-0ubuntu1) ... Selecting previously unselected package libjbig0:i386. Preparing to unpack .../160-libjbig0_2.1-3.1build1_i386.deb ... Unpacking libjbig0:i386 (2.1-3.1build1) ... Selecting previously unselected package libjpeg-turbo8:i386. Preparing to unpack .../161-libjpeg-turbo8_2.0.3-0ubuntu1_i386.deb ... Unpacking libjpeg-turbo8:i386 (2.0.3-0ubuntu1) ... Selecting previously unselected package libjpeg8:i386. Preparing to unpack .../162-libjpeg8_8c-2ubuntu8_i386.deb ... Unpacking libjpeg8:i386 (8c-2ubuntu8) ... Selecting previously unselected package libwebp6:i386. Preparing to unpack .../163-libwebp6_0.6.1-2_i386.deb ... Unpacking libwebp6:i386 (0.6.1-2) ... Selecting previously unselected package libtiff5:i386. Preparing to unpack .../164-libtiff5_4.1.0-1_i386.deb ... Unpacking libtiff5:i386 (4.1.0-1) ... Selecting previously unselected package liblcms2-2:i386. Preparing to unpack .../165-liblcms2-2_2.9-4_i386.deb ... Unpacking liblcms2-2:i386 (2.9-4) ... Selecting previously unselected package libwebpmux3:i386. Preparing to unpack .../166-libwebpmux3_0.6.1-2_i386.deb ... Unpacking libwebpmux3:i386 (0.6.1-2) ... Selecting previously unselected package libwmf0.2-7:i386. Preparing to unpack .../167-libwmf0.2-7_0.2.8.4-15_i386.deb ... Unpacking libwmf0.2-7:i386 (0.2.8.4-15) ... Selecting previously unselected package libgraphicsmagick-q16-3. Preparing to unpack .../168-libgraphicsmagick-q16-3_1.4+really1.3.33+hg16117-1_i386.deb ... Unpacking libgraphicsmagick-q16-3 (1.4+really1.3.33+hg16117-1) ... Selecting previously unselected package libgraphicsmagick++-q16-12. Preparing to unpack .../169-libgraphicsmagick++-q16-12_1.4+really1.3.33+hg16117-1_i386.deb ... Unpacking libgraphicsmagick++-q16-12 (1.4+really1.3.33+hg16117-1) ... Selecting previously unselected package libaec0:i386. Preparing to unpack .../170-libaec0_1.0.4-1_i386.deb ... Unpacking libaec0:i386 (1.0.4-1) ... Selecting previously unselected package libsz2:i386. Preparing to unpack .../171-libsz2_1.0.4-1_i386.deb ... Unpacking libsz2:i386 (1.0.4-1) ... Selecting previously unselected package libhdf5-103:i386. Preparing to unpack .../172-libhdf5-103_1.10.4+repack-10_i386.deb ... Unpacking libhdf5-103:i386 (1.10.4+repack-10) ... Selecting previously unselected package libqrupdate1:i386. Preparing to unpack .../173-libqrupdate1_1.1.2-3_i386.deb ... Unpacking libqrupdate1:i386 (1.1.2-3) ... Selecting previously unselected package libumfpack5:i386. Preparing to unpack .../174-libumfpack5_1%3a5.4.0+dfsg-1_i386.deb ... Unpacking libumfpack5:i386 (1:5.4.0+dfsg-1) ... Selecting previously unselected package liboctave7:i386. Preparing to unpack .../175-liboctave7_5.1.0-4_i386.deb ... Unpacking liboctave7:i386 (5.1.0-4) ... Selecting previously unselected package libxrender1:i386. Preparing to unpack .../176-libxrender1_1%3a0.9.10-1_i386.deb ... Unpacking libxrender1:i386 (1:0.9.10-1) ... Selecting previously unselected package libxcursor1:i386. Preparing to unpack .../177-libxcursor1_1%3a1.2.0-2_i386.deb ... Unpacking libxcursor1:i386 (1:1.2.0-2) ... Selecting previously unselected package libxft2:i386. Preparing to unpack .../178-libxft2_2.3.3-0ubuntu1_i386.deb ... Unpacking libxft2:i386 (2.3.3-0ubuntu1) ... Selecting previously unselected package libxinerama1:i386. Preparing to unpack .../179-libxinerama1_2%3a1.1.4-2_i386.deb ... Unpacking libxinerama1:i386 (2:1.1.4-2) ... Selecting previously unselected package libfltk1.3:i386. Preparing to unpack .../180-libfltk1.3_1.3.4-10_i386.deb ... Unpacking libfltk1.3:i386 (1.3.4-10) ... Selecting previously unselected package libfltk-gl1.3:i386. Preparing to unpack .../181-libfltk-gl1.3_1.3.4-10_i386.deb ... Unpacking libfltk-gl1.3:i386 (1.3.4-10) ... Selecting previously unselected package libltdl7:i386. Preparing to unpack .../182-libltdl7_2.4.6-11_i386.deb ... Unpacking libltdl7:i386 (2.4.6-11) ... Selecting previously unselected package libglpk40:i386. Preparing to unpack .../183-libglpk40_4.65-2_i386.deb ... Unpacking libglpk40:i386 (4.65-2) ... Selecting previously unselected package libasound2-data. Preparing to unpack .../184-libasound2-data_1.1.9-0ubuntu1_all.deb ... Unpacking libasound2-data (1.1.9-0ubuntu1) ... Selecting previously unselected package libasound2:i386. Preparing to unpack .../185-libasound2_1.1.9-0ubuntu1_i386.deb ... Unpacking libasound2:i386 (1.1.9-0ubuntu1) ... Selecting previously unselected package libsamplerate0:i386. Preparing to unpack .../186-libsamplerate0_0.1.9-2_i386.deb ... Unpacking libsamplerate0:i386 (0.1.9-2) ... Selecting previously unselected package libjack-jackd2-0:i386. Preparing to unpack .../187-libjack-jackd2-0_1.9.12~dfsg-2build1_i386.deb ... Unpacking libjack-jackd2-0:i386 (1.9.12~dfsg-2build1) ... Selecting previously unselected package libportaudio2:i386. Preparing to unpack .../188-libportaudio2_19.6.0-1_i386.deb ... Unpacking libportaudio2:i386 (19.6.0-1) ... Selecting previously unselected package libqhull7:i386. Preparing to unpack .../189-libqhull7_2015.2-4_i386.deb ... Unpacking libqhull7:i386 (2015.2-4) ... Selecting previously unselected package libqscintilla2-qt5-l10n. Preparing to unpack .../190-libqscintilla2-qt5-l10n_2.10.4+dfsg-2.1ubuntu1_all.deb ... Unpacking libqscintilla2-qt5-l10n (2.10.4+dfsg-2.1ubuntu1) ... Selecting previously unselected package libdouble-conversion3:i386. Preparing to unpack .../191-libdouble-conversion3_3.1.5-2_i386.deb ... Unpacking libdouble-conversion3:i386 (3.1.5-2) ... Selecting previously unselected package libpcre2-16-0:i386. Preparing to unpack .../192-libpcre2-16-0_10.32-5_i386.deb ... Unpacking libpcre2-16-0:i386 (10.32-5) ... Selecting previously unselected package libqt5core5a:i386. Preparing to unpack .../193-libqt5core5a_5.12.5+dfsg-2_i386.deb ... Unpacking libqt5core5a:i386 (5.12.5+dfsg-2) ... Selecting previously unselected package fontconfig. Preparing to unpack .../194-fontconfig_2.13.1-2ubuntu2_i386.deb ... Unpacking fontconfig (2.13.1-2ubuntu2) ... Selecting previously unselected package libwayland-server0:i386. Preparing to unpack .../195-libwayland-server0_1.17.0-1_i386.deb ... Unpacking libwayland-server0:i386 (1.17.0-1) ... Selecting previously unselected package libgbm1:i386. Preparing to unpack .../196-libgbm1_19.2.1-1ubuntu1_i386.deb ... Unpacking libgbm1:i386 (19.2.1-1ubuntu1) ... Selecting previously unselected package libwayland-client0:i386. Preparing to unpack .../197-libwayland-client0_1.17.0-1_i386.deb ... Unpacking libwayland-client0:i386 (1.17.0-1) ... Selecting previously unselected package libxcb-xfixes0:i386. Preparing to unpack .../198-libxcb-xfixes0_1.13.1-2_i386.deb ... Unpacking libxcb-xfixes0:i386 (1.13.1-2) ... Selecting previously unselected package libegl-mesa0:i386. Preparing to unpack .../199-libegl-mesa0_19.2.1-1ubuntu1_i386.deb ... Unpacking libegl-mesa0:i386 (19.2.1-1ubuntu1) ... Selecting previously unselected package libegl1:i386. Preparing to unpack .../200-libegl1_1.1.1-0ubuntu1_i386.deb ... Unpacking libegl1:i386 (1.1.1-0ubuntu1) ... Selecting previously unselected package libgraphite2-3:i386. Preparing to unpack .../201-libgraphite2-3_1.3.13-11_i386.deb ... Unpacking libgraphite2-3:i386 (1.3.13-11) ... Selecting previously unselected package libharfbuzz0b:i386. Preparing to unpack .../202-libharfbuzz0b_2.6.4-1_i386.deb ... Unpacking libharfbuzz0b:i386 (2.6.4-1) ... Selecting previously unselected package x11-common. Preparing to unpack .../203-x11-common_1%3a7.7+19ubuntu12_all.deb ... dpkg-query: no packages found matching nux-tools Unpacking x11-common (1:7.7+19ubuntu12) ... Selecting previously unselected package libice6:i386. Preparing to unpack .../204-libice6_2%3a1.0.10-0ubuntu1_i386.deb ... Unpacking libice6:i386 (2:1.0.10-0ubuntu1) ... Selecting previously unselected package libevdev2:i386. Preparing to unpack .../205-libevdev2_1.8.0+dfsg-2_i386.deb ... Unpacking libevdev2:i386 (1.8.0+dfsg-2) ... Selecting previously unselected package libmtdev1:i386. Preparing to unpack .../206-libmtdev1_1.1.5-1ubuntu3_i386.deb ... Unpacking libmtdev1:i386 (1.1.5-1ubuntu3) ... Selecting previously unselected package libgudev-1.0-0:i386. Preparing to unpack .../207-libgudev-1.0-0_1%3a233-1_i386.deb ... Unpacking libgudev-1.0-0:i386 (1:233-1) ... Selecting previously unselected package libwacom-common. Preparing to unpack .../208-libwacom-common_1.1-1_all.deb ... Unpacking libwacom-common (1.1-1) ... Selecting previously unselected package libwacom2:i386. Preparing to unpack .../209-libwacom2_1.1-1_i386.deb ... Unpacking libwacom2:i386 (1.1-1) ... Selecting previously unselected package libinput-bin. Preparing to unpack .../210-libinput-bin_1.14.3-1_i386.deb ... Unpacking libinput-bin (1.14.3-1) ... Selecting previously unselected package libinput10:i386. Preparing to unpack .../211-libinput10_1.14.3-1_i386.deb ... Unpacking libinput10:i386 (1.14.3-1) ... Selecting previously unselected package libqt5dbus5:i386. Preparing to unpack .../212-libqt5dbus5_5.12.5+dfsg-2_i386.deb ... Unpacking libqt5dbus5:i386 (5.12.5+dfsg-2) ... Selecting previously unselected package libqt5network5:i386. Preparing to unpack .../213-libqt5network5_5.12.5+dfsg-2_i386.deb ... Unpacking libqt5network5:i386 (5.12.5+dfsg-2) ... Selecting previously unselected package libsm6:i386. Preparing to unpack .../214-libsm6_2%3a1.2.3-1_i386.deb ... Unpacking libsm6:i386 (2:1.2.3-1) ... Selecting previously unselected package libxcb-icccm4:i386. Preparing to unpack .../215-libxcb-icccm4_0.4.1-1.1_i386.deb ... Unpacking libxcb-icccm4:i386 (0.4.1-1.1) ... Selecting previously unselected package libxcb-shm0:i386. Preparing to unpack .../216-libxcb-shm0_1.13.1-2_i386.deb ... Unpacking libxcb-shm0:i386 (1.13.1-2) ... Selecting previously unselected package libxcb-util1:i386. Preparing to unpack .../217-libxcb-util1_0.4.0-0ubuntu3_i386.deb ... Unpacking libxcb-util1:i386 (0.4.0-0ubuntu3) ... Selecting previously unselected package libxcb-image0:i386. Preparing to unpack .../218-libxcb-image0_0.4.0-1build1_i386.deb ... Unpacking libxcb-image0:i386 (0.4.0-1build1) ... Selecting previously unselected package libxcb-keysyms1:i386. Preparing to unpack .../219-libxcb-keysyms1_0.4.0-1build1_i386.deb ... Unpacking libxcb-keysyms1:i386 (0.4.0-1build1) ... Selecting previously unselected package libxcb-randr0:i386. Preparing to unpack .../220-libxcb-randr0_1.13.1-2_i386.deb ... Unpacking libxcb-randr0:i386 (1.13.1-2) ... Selecting previously unselected package libxcb-render0:i386. Preparing to unpack .../221-libxcb-render0_1.13.1-2_i386.deb ... Unpacking libxcb-render0:i386 (1.13.1-2) ... Selecting previously unselected package libxcb-render-util0:i386. Preparing to unpack .../222-libxcb-render-util0_0.3.9-1build1_i386.deb ... Unpacking libxcb-render-util0:i386 (0.3.9-1build1) ... Selecting previously unselected package libxcb-shape0:i386. Preparing to unpack .../223-libxcb-shape0_1.13.1-2_i386.deb ... Unpacking libxcb-shape0:i386 (1.13.1-2) ... Selecting previously unselected package libxcb-xinerama0:i386. Preparing to unpack .../224-libxcb-xinerama0_1.13.1-2_i386.deb ... Unpacking libxcb-xinerama0:i386 (1.13.1-2) ... Selecting previously unselected package libxcb-xinput0:i386. Preparing to unpack .../225-libxcb-xinput0_1.13.1-2_i386.deb ... Unpacking libxcb-xinput0:i386 (1.13.1-2) ... Selecting previously unselected package libxcb-xkb1:i386. Preparing to unpack .../226-libxcb-xkb1_1.13.1-2_i386.deb ... Unpacking libxcb-xkb1:i386 (1.13.1-2) ... Selecting previously unselected package libxkbcommon0:i386. Preparing to unpack .../227-libxkbcommon0_0.9.1-1_i386.deb ... Unpacking libxkbcommon0:i386 (0.9.1-1) ... Selecting previously unselected package libxkbcommon-x11-0:i386. Preparing to unpack .../228-libxkbcommon-x11-0_0.9.1-1_i386.deb ... Unpacking libxkbcommon-x11-0:i386 (0.9.1-1) ... Selecting previously unselected package libqt5gui5:i386. Preparing to unpack .../229-libqt5gui5_5.12.5+dfsg-2_i386.deb ... Unpacking libqt5gui5:i386 (5.12.5+dfsg-2) ... Selecting previously unselected package libavahi-common-data:i386. Preparing to unpack .../230-libavahi-common-data_0.7-4ubuntu5_i386.deb ... Unpacking libavahi-common-data:i386 (0.7-4ubuntu5) ... Selecting previously unselected package libavahi-common3:i386. Preparing to unpack .../231-libavahi-common3_0.7-4ubuntu5_i386.deb ... Unpacking libavahi-common3:i386 (0.7-4ubuntu5) ... Selecting previously unselected package libavahi-client3:i386. Preparing to unpack .../232-libavahi-client3_0.7-4ubuntu5_i386.deb ... Unpacking libavahi-client3:i386 (0.7-4ubuntu5) ... Selecting previously unselected package libcups2:i386. Preparing to unpack .../233-libcups2_2.3.0-7_i386.deb ... Unpacking libcups2:i386 (2.3.0-7) ... Selecting previously unselected package libqt5widgets5:i386. Preparing to unpack .../234-libqt5widgets5_5.12.5+dfsg-2_i386.deb ... Unpacking libqt5widgets5:i386 (5.12.5+dfsg-2) ... Selecting previously unselected package libqt5printsupport5:i386. Preparing to unpack .../235-libqt5printsupport5_5.12.5+dfsg-2_i386.deb ... Unpacking libqt5printsupport5:i386 (5.12.5+dfsg-2) ... Selecting previously unselected package libqscintilla2-qt5-13. Preparing to unpack .../236-libqscintilla2-qt5-13_2.10.4+dfsg-2.1ubuntu1_i386.deb ... Unpacking libqscintilla2-qt5-13 (2.10.4+dfsg-2.1ubuntu1) ... Selecting previously unselected package libqt5sql5:i386. Preparing to unpack .../237-libqt5sql5_5.12.5+dfsg-2_i386.deb ... Unpacking libqt5sql5:i386 (5.12.5+dfsg-2) ... Selecting previously unselected package libqt5help5:i386. Preparing to unpack .../238-libqt5help5_5.12.5-2_i386.deb ... Unpacking libqt5help5:i386 (5.12.5-2) ... Selecting previously unselected package libqt5xml5:i386. Preparing to unpack .../239-libqt5xml5_5.12.5+dfsg-2_i386.deb ... Unpacking libqt5xml5:i386 (5.12.5+dfsg-2) ... Selecting previously unselected package libogg0:i386. Preparing to unpack .../240-libogg0_1.3.4-0ubuntu1_i386.deb ... Unpacking libogg0:i386 (1.3.4-0ubuntu1) ... Selecting previously unselected package libflac8:i386. Preparing to unpack .../241-libflac8_1.3.3-1_i386.deb ... Unpacking libflac8:i386 (1.3.3-1) ... Selecting previously unselected package libvorbis0a:i386. Preparing to unpack .../242-libvorbis0a_1.3.6-2_i386.deb ... Unpacking libvorbis0a:i386 (1.3.6-2) ... Selecting previously unselected package libvorbisenc2:i386. Preparing to unpack .../243-libvorbisenc2_1.3.6-2_i386.deb ... Unpacking libvorbisenc2:i386 (1.3.6-2) ... Selecting previously unselected package libsndfile1:i386. Preparing to unpack .../244-libsndfile1_1.0.28-6_i386.deb ... Unpacking libsndfile1:i386 (1.0.28-6) ... Selecting previously unselected package libtext-unidecode-perl. Preparing to unpack .../245-libtext-unidecode-perl_1.30-1_all.deb ... Unpacking libtext-unidecode-perl (1.30-1) ... Selecting previously unselected package libxml-namespacesupport-perl. Preparing to unpack .../246-libxml-namespacesupport-perl_1.12-1_all.deb ... Unpacking libxml-namespacesupport-perl (1.12-1) ... Selecting previously unselected package libxml-sax-base-perl. Preparing to unpack .../247-libxml-sax-base-perl_1.09-1_all.deb ... Unpacking libxml-sax-base-perl (1.09-1) ... Selecting previously unselected package libxml-sax-perl. Preparing to unpack .../248-libxml-sax-perl_1.02+dfsg-1_all.deb ... Unpacking libxml-sax-perl (1.02+dfsg-1) ... Selecting previously unselected package libxml-libxml-perl. Preparing to unpack .../249-libxml-libxml-perl_2.0134+dfsg-1build1_i386.deb ... Unpacking libxml-libxml-perl (2.0134+dfsg-1build1) ... Selecting previously unselected package texinfo. Preparing to unpack .../250-texinfo_6.6.0.dfsg.1-2ubuntu3_i386.deb ... Unpacking texinfo (6.6.0.dfsg.1-2ubuntu3) ... Selecting previously unselected package octave-common. Preparing to unpack .../251-octave-common_5.1.0-4_all.deb ... Unpacking octave-common (5.1.0-4) ... Selecting previously unselected package octave. Preparing to unpack .../252-octave_5.1.0-4_i386.deb ... Unpacking octave (5.1.0-4) ... Selecting previously unselected package libncurses-dev:i386. Preparing to unpack .../253-libncurses-dev_6.1+20191019-1ubuntu1_i386.deb ... Unpacking libncurses-dev:i386 (6.1+20191019-1ubuntu1) ... Selecting previously unselected package libreadline-dev:i386. Preparing to unpack .../254-libreadline-dev_8.0-3_i386.deb ... Unpacking libreadline-dev:i386 (8.0-3) ... Selecting previously unselected package zlib1g-dev:i386. Preparing to unpack .../255-zlib1g-dev_1%3a1.2.11.dfsg-1ubuntu3_i386.deb ... Unpacking zlib1g-dev:i386 (1:1.2.11.dfsg-1ubuntu3) ... Selecting previously unselected package libjpeg-turbo8-dev:i386. Preparing to unpack .../256-libjpeg-turbo8-dev_2.0.3-0ubuntu1_i386.deb ... Unpacking libjpeg-turbo8-dev:i386 (2.0.3-0ubuntu1) ... Selecting previously unselected package libjpeg8-dev:i386. Preparing to unpack .../257-libjpeg8-dev_8c-2ubuntu8_i386.deb ... Unpacking libjpeg8-dev:i386 (8c-2ubuntu8) ... Selecting previously unselected package libjpeg-dev:i386. Preparing to unpack .../258-libjpeg-dev_8c-2ubuntu8_i386.deb ... Unpacking libjpeg-dev:i386 (8c-2ubuntu8) ... Selecting previously unselected package libaec-dev:i386. Preparing to unpack .../259-libaec-dev_1.0.4-1_i386.deb ... Unpacking libaec-dev:i386 (1.0.4-1) ... Selecting previously unselected package hdf5-helpers. Preparing to unpack .../260-hdf5-helpers_1.10.4+repack-10_i386.deb ... Unpacking hdf5-helpers (1.10.4+repack-10) ... Selecting previously unselected package libhdf5-cpp-103:i386. Preparing to unpack .../261-libhdf5-cpp-103_1.10.4+repack-10_i386.deb ... Unpacking libhdf5-cpp-103:i386 (1.10.4+repack-10) ... Selecting previously unselected package libhdf5-dev. Preparing to unpack .../262-libhdf5-dev_1.10.4+repack-10_i386.deb ... Unpacking libhdf5-dev (1.10.4+repack-10) ... Selecting previously unselected package xorg-sgml-doctools. Preparing to unpack .../263-xorg-sgml-doctools_1%3a1.11-1_all.deb ... Unpacking xorg-sgml-doctools (1:1.11-1) ... Selecting previously unselected package x11proto-dev. Preparing to unpack .../264-x11proto-dev_2018.4-4_all.deb ... Unpacking x11proto-dev (2018.4-4) ... Selecting previously unselected package x11proto-core-dev. Preparing to unpack .../265-x11proto-core-dev_2018.4-4_all.deb ... Unpacking x11proto-core-dev (2018.4-4) ... Selecting previously unselected package libxau-dev:i386. Preparing to unpack .../266-libxau-dev_1%3a1.0.9-0ubuntu1_i386.deb ... Unpacking libxau-dev:i386 (1:1.0.9-0ubuntu1) ... Selecting previously unselected package libxdmcp-dev:i386. Preparing to unpack .../267-libxdmcp-dev_1%3a1.1.3-0ubuntu1_i386.deb ... Unpacking libxdmcp-dev:i386 (1:1.1.3-0ubuntu1) ... Selecting previously unselected package xtrans-dev. Preparing to unpack .../268-xtrans-dev_1.3.5-1build1_all.deb ... Unpacking xtrans-dev (1.3.5-1build1) ... Selecting previously unselected package libpthread-stubs0-dev:i386. Preparing to unpack .../269-libpthread-stubs0-dev_0.4-1_i386.deb ... Unpacking libpthread-stubs0-dev:i386 (0.4-1) ... Selecting previously unselected package libxcb1-dev:i386. Preparing to unpack .../270-libxcb1-dev_1.13.1-2_i386.deb ... Unpacking libxcb1-dev:i386 (1.13.1-2) ... Selecting previously unselected package libx11-dev:i386. Preparing to unpack .../271-libx11-dev_2%3a1.6.8-1_i386.deb ... Unpacking libx11-dev:i386 (2:1.6.8-1) ... Selecting previously unselected package libdrm-dev:i386. Preparing to unpack .../272-libdrm-dev_2.4.99-1ubuntu1_i386.deb ... Unpacking libdrm-dev:i386 (2.4.99-1ubuntu1) ... Selecting previously unselected package mesa-common-dev:i386. Preparing to unpack .../273-mesa-common-dev_19.2.1-1ubuntu1_i386.deb ... Unpacking mesa-common-dev:i386 (19.2.1-1ubuntu1) ... Selecting previously unselected package libglvnd-core-dev:i386. Preparing to unpack .../274-libglvnd-core-dev_1.1.1-0ubuntu1_i386.deb ... Unpacking libglvnd-core-dev:i386 (1.1.1-0ubuntu1) ... Selecting previously unselected package libgles1:i386. Preparing to unpack .../275-libgles1_1.1.1-0ubuntu1_i386.deb ... Unpacking libgles1:i386 (1.1.1-0ubuntu1) ... Selecting previously unselected package libgles2:i386. Preparing to unpack .../276-libgles2_1.1.1-0ubuntu1_i386.deb ... Unpacking libgles2:i386 (1.1.1-0ubuntu1) ... Selecting previously unselected package libopengl0:i386. Preparing to unpack .../277-libopengl0_1.1.1-0ubuntu1_i386.deb ... Unpacking libopengl0:i386 (1.1.1-0ubuntu1) ... Selecting previously unselected package libglvnd-dev:i386. Preparing to unpack .../278-libglvnd-dev_1.1.1-0ubuntu1_i386.deb ... Unpacking libglvnd-dev:i386 (1.1.1-0ubuntu1) ... Selecting previously unselected package libx11-xcb-dev:i386. Preparing to unpack .../279-libx11-xcb-dev_2%3a1.6.8-1_i386.deb ... Unpacking libx11-xcb-dev:i386 (2:1.6.8-1) ... Selecting previously unselected package libxcb-dri3-dev:i386. Preparing to unpack .../280-libxcb-dri3-dev_1.13.1-2_i386.deb ... Unpacking libxcb-dri3-dev:i386 (1.13.1-2) ... Selecting previously unselected package libxcb-render0-dev:i386. Preparing to unpack .../281-libxcb-render0-dev_1.13.1-2_i386.deb ... Unpacking libxcb-render0-dev:i386 (1.13.1-2) ... Selecting previously unselected package libxcb-randr0-dev:i386. Preparing to unpack .../282-libxcb-randr0-dev_1.13.1-2_i386.deb ... Unpacking libxcb-randr0-dev:i386 (1.13.1-2) ... Selecting previously unselected package libxcb-shape0-dev:i386. Preparing to unpack .../283-libxcb-shape0-dev_1.13.1-2_i386.deb ... Unpacking libxcb-shape0-dev:i386 (1.13.1-2) ... Selecting previously unselected package libxcb-xfixes0-dev:i386. Preparing to unpack .../284-libxcb-xfixes0-dev_1.13.1-2_i386.deb ... Unpacking libxcb-xfixes0-dev:i386 (1.13.1-2) ... Selecting previously unselected package libxcb-sync-dev:i386. Preparing to unpack .../285-libxcb-sync-dev_1.13.1-2_i386.deb ... Unpacking libxcb-sync-dev:i386 (1.13.1-2) ... Selecting previously unselected package libxcb-present-dev:i386. Preparing to unpack .../286-libxcb-present-dev_1.13.1-2_i386.deb ... Unpacking libxcb-present-dev:i386 (1.13.1-2) ... Selecting previously unselected package libxshmfence-dev:i386. Preparing to unpack .../287-libxshmfence-dev_1.3-1_i386.deb ... Unpacking libxshmfence-dev:i386 (1.3-1) ... Selecting previously unselected package libxcb-dri2-0-dev:i386. Preparing to unpack .../288-libxcb-dri2-0-dev_1.13.1-2_i386.deb ... Unpacking libxcb-dri2-0-dev:i386 (1.13.1-2) ... Selecting previously unselected package libxcb-glx0-dev:i386. Preparing to unpack .../289-libxcb-glx0-dev_1.13.1-2_i386.deb ... Unpacking libxcb-glx0-dev:i386 (1.13.1-2) ... Selecting previously unselected package x11proto-fixes-dev. Preparing to unpack .../290-x11proto-fixes-dev_1%3a2018.4-4_all.deb ... Unpacking x11proto-fixes-dev (1:2018.4-4) ... Selecting previously unselected package libxfixes-dev:i386. Preparing to unpack .../291-libxfixes-dev_1%3a5.0.3-1_i386.deb ... Unpacking libxfixes-dev:i386 (1:5.0.3-1) ... Selecting previously unselected package x11proto-damage-dev. Preparing to unpack .../292-x11proto-damage-dev_1%3a2018.4-4_all.deb ... Unpacking x11proto-damage-dev (1:2018.4-4) ... Selecting previously unselected package libxdamage-dev:i386. Preparing to unpack .../293-libxdamage-dev_1%3a1.1.5-1_i386.deb ... Unpacking libxdamage-dev:i386 (1:1.1.5-1) ... Selecting previously unselected package x11proto-xext-dev. Preparing to unpack .../294-x11proto-xext-dev_2018.4-4_all.deb ... Unpacking x11proto-xext-dev (2018.4-4) ... Selecting previously unselected package libxext-dev:i386. Preparing to unpack .../295-libxext-dev_2%3a1.3.4-0ubuntu1_i386.deb ... Unpacking libxext-dev:i386 (2:1.3.4-0ubuntu1) ... Selecting previously unselected package x11proto-xf86vidmode-dev. Preparing to unpack .../296-x11proto-xf86vidmode-dev_2018.4-4_all.deb ... Unpacking x11proto-xf86vidmode-dev (2018.4-4) ... Selecting previously unselected package libxxf86vm-dev:i386. Preparing to unpack .../297-libxxf86vm-dev_1%3a1.1.4-1build1_i386.deb ... Unpacking libxxf86vm-dev:i386 (1:1.1.4-1build1) ... Selecting previously unselected package libgl1-mesa-dev:i386. Preparing to unpack .../298-libgl1-mesa-dev_19.2.1-1ubuntu1_i386.deb ... Unpacking libgl1-mesa-dev:i386 (19.2.1-1ubuntu1) ... Selecting previously unselected package libblas-dev:i386. Preparing to unpack .../299-libblas-dev_3.8.0-8_i386.deb ... Unpacking libblas-dev:i386 (3.8.0-8) ... Selecting previously unselected package liblapack-dev:i386. Preparing to unpack .../300-liblapack-dev_3.8.0-8_i386.deb ... Unpacking liblapack-dev:i386 (3.8.0-8) ... Selecting previously unselected package libfftw3-long3:i386. Preparing to unpack .../301-libfftw3-long3_3.3.8-2_i386.deb ... Unpacking libfftw3-long3:i386 (3.3.8-2) ... Selecting previously unselected package libfftw3-quad3:i386. Preparing to unpack .../302-libfftw3-quad3_3.3.8-2_i386.deb ... Unpacking libfftw3-quad3:i386 (3.3.8-2) ... Selecting previously unselected package libfftw3-bin. Preparing to unpack .../303-libfftw3-bin_3.3.8-2_i386.deb ... Unpacking libfftw3-bin (3.3.8-2) ... Selecting previously unselected package libfftw3-dev:i386. Preparing to unpack .../304-libfftw3-dev_3.3.8-2_i386.deb ... Unpacking libfftw3-dev:i386 (3.3.8-2) ... Selecting previously unselected package libgfortran-9-dev:i386. Preparing to unpack .../305-libgfortran-9-dev_9.2.1-18ubuntu1_i386.deb ... Unpacking libgfortran-9-dev:i386 (9.2.1-18ubuntu1) ... Selecting previously unselected package gfortran-9. Preparing to unpack .../306-gfortran-9_9.2.1-18ubuntu1_i386.deb ... Unpacking gfortran-9 (9.2.1-18ubuntu1) ... Selecting previously unselected package gfortran. Preparing to unpack .../307-gfortran_4%3a9.2.1-3.1ubuntu1_i386.deb ... Unpacking gfortran (4:9.2.1-3.1ubuntu1) ... Selecting previously unselected package liboctave-dev. Preparing to unpack .../308-liboctave-dev_5.1.0-4_i386.deb ... Unpacking liboctave-dev (5.1.0-4) ... Selecting previously unselected package libencode-locale-perl. Preparing to unpack .../309-libencode-locale-perl_1.05-1_all.deb ... Unpacking libencode-locale-perl (1.05-1) ... Selecting previously unselected package libtimedate-perl. Preparing to unpack .../310-libtimedate-perl_2.3000-2_all.deb ... Unpacking libtimedate-perl (2.3000-2) ... Selecting previously unselected package libhttp-date-perl. Preparing to unpack .../311-libhttp-date-perl_6.02-1_all.deb ... Unpacking libhttp-date-perl (6.02-1) ... Selecting previously unselected package libfile-listing-perl. Preparing to unpack .../312-libfile-listing-perl_6.04-1_all.deb ... Unpacking libfile-listing-perl (6.04-1) ... Selecting previously unselected package libhtml-tagset-perl. Preparing to unpack .../313-libhtml-tagset-perl_3.20-3_all.deb ... Unpacking libhtml-tagset-perl (3.20-3) ... Selecting previously unselected package liburi-perl. Preparing to unpack .../314-liburi-perl_1.76-1_all.deb ... Unpacking liburi-perl (1.76-1) ... Selecting previously unselected package libhtml-parser-perl. Preparing to unpack .../315-libhtml-parser-perl_3.72-3build3_i386.deb ... Unpacking libhtml-parser-perl (3.72-3build3) ... Selecting previously unselected package libhtml-tree-perl. Preparing to unpack .../316-libhtml-tree-perl_5.07-2_all.deb ... Unpacking libhtml-tree-perl (5.07-2) ... Selecting previously unselected package libio-html-perl. Preparing to unpack .../317-libio-html-perl_1.001-1_all.deb ... Unpacking libio-html-perl (1.001-1) ... Selecting previously unselected package liblwp-mediatypes-perl. Preparing to unpack .../318-liblwp-mediatypes-perl_6.04-1_all.deb ... Unpacking liblwp-mediatypes-perl (6.04-1) ... Selecting previously unselected package libhttp-message-perl. Preparing to unpack .../319-libhttp-message-perl_6.18-1_all.deb ... Unpacking libhttp-message-perl (6.18-1) ... Selecting previously unselected package libhttp-cookies-perl. Preparing to unpack .../320-libhttp-cookies-perl_6.04-2_all.deb ... Unpacking libhttp-cookies-perl (6.04-2) ... Selecting previously unselected package libhttp-negotiate-perl. Preparing to unpack .../321-libhttp-negotiate-perl_6.01-1_all.deb ... Unpacking libhttp-negotiate-perl (6.01-1) ... Selecting previously unselected package perl-openssl-defaults:i386. Preparing to unpack .../322-perl-openssl-defaults_3build1_i386.deb ... Unpacking perl-openssl-defaults:i386 (3build1) ... Selecting previously unselected package libnet-ssleay-perl. Preparing to unpack .../323-libnet-ssleay-perl_1.88-0ubuntu2_i386.deb ... Unpacking libnet-ssleay-perl (1.88-0ubuntu2) ... Selecting previously unselected package libio-socket-ssl-perl. Preparing to unpack .../324-libio-socket-ssl-perl_2.066-0ubuntu4_all.deb ... Unpacking libio-socket-ssl-perl (2.066-0ubuntu4) ... Selecting previously unselected package libnet-http-perl. Preparing to unpack .../325-libnet-http-perl_6.19-1_all.deb ... Unpacking libnet-http-perl (6.19-1) ... Selecting previously unselected package liblwp-protocol-https-perl. Preparing to unpack .../326-liblwp-protocol-https-perl_6.07-2ubuntu2_all.deb ... Unpacking liblwp-protocol-https-perl (6.07-2ubuntu2) ... Selecting previously unselected package libwww-robotrules-perl. Preparing to unpack .../327-libwww-robotrules-perl_6.02-1_all.deb ... Unpacking libwww-robotrules-perl (6.02-1) ... Selecting previously unselected package libwww-perl. Preparing to unpack .../328-libwww-perl_6.39-1_all.deb ... Unpacking libwww-perl (6.39-1) ... Selecting previously unselected package liberror-perl. Preparing to unpack .../329-liberror-perl_0.17028-1_all.deb ... Unpacking liberror-perl (0.17028-1) ... Selecting previously unselected package libexporter-lite-perl. Preparing to unpack .../330-libexporter-lite-perl_0.08-1_all.deb ... Unpacking libexporter-lite-perl (0.08-1) ... Selecting previously unselected package libparse-debcontrol-perl. Preparing to unpack .../331-libparse-debcontrol-perl_2.005-4_all.deb ... Unpacking libparse-debcontrol-perl (2.005-4) ... Selecting previously unselected package libconvert-binhex-perl. Preparing to unpack .../332-libconvert-binhex-perl_1.125-1_all.deb ... Unpacking libconvert-binhex-perl (1.125-1) ... Selecting previously unselected package libnet-smtp-ssl-perl. Preparing to unpack .../333-libnet-smtp-ssl-perl_1.04-1_all.deb ... Unpacking libnet-smtp-ssl-perl (1.04-1) ... Selecting previously unselected package libmailtools-perl. Preparing to unpack .../334-libmailtools-perl_2.21-1_all.deb ... Unpacking libmailtools-perl (2.21-1) ... Selecting previously unselected package libmime-tools-perl. Preparing to unpack .../335-libmime-tools-perl_5.509-1_all.deb ... Unpacking libmime-tools-perl (5.509-1) ... Selecting previously unselected package libnumber-compare-perl. Preparing to unpack .../336-libnumber-compare-perl_0.03-1_all.deb ... Unpacking libnumber-compare-perl (0.03-1) ... Selecting previously unselected package libtext-glob-perl. Preparing to unpack .../337-libtext-glob-perl_0.10-1_all.deb ... Unpacking libtext-glob-perl (0.10-1) ... Selecting previously unselected package libfile-find-rule-perl. Preparing to unpack .../338-libfile-find-rule-perl_0.34-1_all.deb ... Unpacking libfile-find-rule-perl (0.34-1) ... Selecting previously unselected package aglfn. Preparing to unpack .../339-aglfn_1.7-3_all.deb ... Unpacking aglfn (1.7-3) ... Selecting previously unselected package gnuplot-data. Preparing to unpack .../340-gnuplot-data_5.2.7+dfsg1-6_all.deb ... Unpacking gnuplot-data (5.2.7+dfsg1-6) ... Selecting previously unselected package libpixman-1-0:i386. Preparing to unpack .../341-libpixman-1-0_0.38.4-0ubuntu1_i386.deb ... Unpacking libpixman-1-0:i386 (0.38.4-0ubuntu1) ... Selecting previously unselected package libcairo2:i386. Preparing to unpack .../342-libcairo2_1.16.0-4_i386.deb ... Unpacking libcairo2:i386 (1.16.0-4) ... Selecting previously unselected package libxpm4:i386. Preparing to unpack .../343-libxpm4_1%3a3.5.12-1_i386.deb ... Unpacking libxpm4:i386 (1:3.5.12-1) ... Selecting previously unselected package libgd3:i386. Preparing to unpack .../344-libgd3_2.2.5-5.2_i386.deb ... Unpacking libgd3:i386 (2.2.5-5.2) ... Selecting previously unselected package liblua5.3-0:i386. Preparing to unpack .../345-liblua5.3-0_5.3.3-1.1ubuntu1_i386.deb ... Unpacking liblua5.3-0:i386 (5.3.3-1.1ubuntu1) ... Selecting previously unselected package libthai-data. Preparing to unpack .../346-libthai-data_0.1.28-3_all.deb ... Unpacking libthai-data (0.1.28-3) ... Selecting previously unselected package libdatrie1:i386. Preparing to unpack .../347-libdatrie1_0.2.12-3_i386.deb ... Unpacking libdatrie1:i386 (0.2.12-3) ... Selecting previously unselected package libthai0:i386. Preparing to unpack .../348-libthai0_0.1.28-3_i386.deb ... Unpacking libthai0:i386 (0.1.28-3) ... Selecting previously unselected package libpango-1.0-0:i386. Preparing to unpack .../349-libpango-1.0-0_1.44.7-1_i386.deb ... Unpacking libpango-1.0-0:i386 (1.44.7-1) ... Selecting previously unselected package libpangoft2-1.0-0:i386. Preparing to unpack .../350-libpangoft2-1.0-0_1.44.7-1_i386.deb ... Unpacking libpangoft2-1.0-0:i386 (1.44.7-1) ... Selecting previously unselected package libpangocairo-1.0-0:i386. Preparing to unpack .../351-libpangocairo-1.0-0_1.44.7-1_i386.deb ... Unpacking libpangocairo-1.0-0:i386 (1.44.7-1) ... Selecting previously unselected package gnuplot-nox. Preparing to unpack .../352-gnuplot-nox_5.2.7+dfsg1-6_i386.deb ... Unpacking gnuplot-nox (5.2.7+dfsg1-6) ... Selecting previously unselected package fonts-freefont-otf. Preparing to unpack .../353-fonts-freefont-otf_20120503-9_all.deb ... Unpacking fonts-freefont-otf (20120503-9) ... Selecting previously unselected package dh-octave-autopkgtest. Preparing to unpack .../354-dh-octave-autopkgtest_0.7.2_all.deb ... Unpacking dh-octave-autopkgtest (0.7.2) ... Selecting previously unselected package dh-octave. Preparing to unpack .../355-dh-octave_0.7.2_all.deb ... Unpacking dh-octave (0.7.2) ... Selecting previously unselected package libslicot0:i386. Preparing to unpack .../356-libslicot0_5.0+20101122-4_i386.deb ... Unpacking libslicot0:i386 (5.0+20101122-4) ... Selecting previously unselected package octave-control. Preparing to unpack .../357-octave-control_3.2.0-3_i386.deb ... Unpacking octave-control (3.2.0-3) ... Selecting previously unselected package sbuild-build-depends-octave-signal-dummy. Preparing to unpack .../358-sbuild-build-depends-octave-signal-dummy_0.invalid.0_i386.deb ... Unpacking sbuild-build-depends-octave-signal-dummy (0.invalid.0) ... Setting up libexpat1:i386 (2.2.9-1) ... Setting up libmodule-pluggable-perl (5.2-1) ... Setting up libpipeline1:i386 (1.5.1-2) ... Setting up libgraphite2-3:i386 (1.3.13-11) ... Setting up liblcms2-2:i386 (2.9-4) ... Setting up libpixman-1-0:i386 (0.38.4-0ubuntu1) ... Setting up libwayland-server0:i386 (1.17.0-1) ... Setting up libx11-xcb1:i386 (2:1.6.8-1) ... Setting up libpciaccess0:i386 (0.16-0ubuntu1) ... Setting up libfile-which-perl (1.23-1) ... Setting up libxau6:i386 (1:1.0.9-0ubuntu1) ... Setting up libdouble-conversion3:i386 (3.1.5-2) ... Setting up libkeyutils1:i386 (1.6-6ubuntu1) ... Setting up libncurses-dev:i386 (6.1+20191019-1ubuntu1) ... Setting up libpsl5:i386 (0.20.2-2) ... Setting up libfftw3-single3:i386 (3.3.8-2) ... Setting up libogg0:i386 (1.3.4-0ubuntu1) ... Setting up libmouse-perl (2.5.9-1) ... Setting up libpod-pom-perl (2.01-3) ... Setting up libglvnd-core-dev:i386 (1.1.1-0ubuntu1) ... Setting up hdf5-helpers (1.10.4+repack-10) ... Setting up libdynaloader-functions-perl (0.003-1) ... Setting up libdatrie1:i386 (0.2.12-3) ... Setting up libtext-glob-perl (0.10-1) ... Setting up libmagic-mgc (1:5.37-6) ... Setting up libarchive-zip-perl (1.67-1) ... Setting up libglib2.0-0:i386 (2.63.1-1) ... No schema files found: doing nothing. Setting up libglvnd0:i386 (1.1.1-0ubuntu1) ... Setting up libio-stringy-perl (2.111-3) ... Setting up libhtml-tagset-perl (3.20-3) ... Setting up libqscintilla2-qt5-l10n (2.10.4+dfsg-2.1ubuntu1) ... Setting up libdebhelper-perl (12.7.1ubuntu1) ... Setting up libconvert-binhex-perl (1.125-1) ... Setting up liblwp-mediatypes-perl (6.04-1) ... Setting up fonts-freefont-otf (20120503-9) ... Setting up x11-common (1:7.7+19ubuntu12) ... update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults Running in chroot, ignoring request. invoke-rc.d: policy-rc.d denied execution of start. Setting up libtry-tiny-perl (0.30-1) ... Setting up libsensors-config (1:3.5.0-3ubuntu1) ... Setting up libnghttp2-14:i386 (1.39.2-1) ... Setting up libmagic1:i386 (1:5.37-6) ... Setting up perl-openssl-defaults:i386 (3build1) ... Setting up libxml-namespacesupport-perl (1.12-1) ... Setting up libfftw3-long3:i386 (3.3.8-2) ... Setting up gettext-base (0.19.8.1-9) ... Setting up libclone-choose-perl (0.010-1) ... Setting up xkb-data (2.26-2ubuntu2) ... Setting up libencode-locale-perl (1.05-1) ... Setting up libqhull7:i386 (2015.2-4) ... Setting up libmetis5:i386 (5.1.0.dfsg-5) ... Setting up file (1:5.37-6) ... Setting up libreadline-dev:i386 (8.0-3) ... Setting up libldap-common (2.4.48+dfsg-1ubuntu3) ... Setting up libyaml-perl (1.29-1) ... Setting up libpthread-stubs0-dev:i386 (0.4-1) ... Setting up libjbig0:i386 (2.1-3.1build1) ... Setting up octave-common (5.1.0-4) ... Setting up libregexp-common-perl (2017060201-1) ... Setting up libpcre2-16-0:i386 (10.32-5) ... Setting up libaec0:i386 (1.0.4-1) ... Setting up libicu63:i386 (63.2-2) ... Setting up libopengl0:i386 (1.1.1-0ubuntu1) ... Setting up libsub-install-perl (0.928-1) ... Setting up libflac8:i386 (1.3.3-1) ... Setting up libkrb5support0:i386 (1.17-6) ... Setting up libnumber-compare-perl (0.03-1) ... Setting up libsasl2-modules-db:i386 (2.1.27+dfsg-1build3) ... Setting up liberror-perl (0.17028-1) ... Setting up libasound2-data (1.1.9-0ubuntu1) ... Setting up libxml-sax-base-perl (1.09-1) ... Setting up libboolean-perl (0.46-1) ... Setting up xtrans-dev (1.3.5-1build1) ... Setting up autotools-dev (20180224.1) ... Setting up libblas3:i386 (3.8.0-8) ... update-alternatives: using /usr/lib/i386-linux-gnu/blas/libblas.so.3 to provide /usr/lib/i386-linux-gnu/libblas.so.3 (libblas.so.3-i386-linux-gnu) in auto mode Setting up libgles2:i386 (1.1.1-0ubuntu1) ... Setting up liblog-log4perl-perl (1.49-1) ... Setting up libfreetype6:i386 (2.10.1-2) ... Setting up libx11-data (2:1.6.8-1) ... Setting up libfile-find-rule-perl (0.34-1) ... Setting up librtmp1:i386 (2.4+20151223.gitfa8646d.1-2build1) ... Setting up libio-tiecombine-perl (1.005-1) ... Setting up aglfn (1.7-3) ... Setting up libavahi-common-data:i386 (0.7-4ubuntu5) ... Setting up libgles1:i386 (1.1.1-0ubuntu1) ... Setting up libdbus-1-3:i386 (1.12.14-1ubuntu2) ... Setting up libsigsegv2:i386 (2.12-2) ... Setting up libfftw3-quad3:i386 (3.3.8-2) ... Setting up libfribidi0:i386 (1.0.7-1) ... Setting up libvorbis0a:i386 (1.3.6-2) ... Setting up libio-html-perl (1.001-1) ... Setting up autopoint (0.19.8.1-9) ... Setting up libwebp6:i386 (0.6.1-2) ... Setting up libb-hooks-op-check-perl (0.22-1build2) ... Setting up fonts-dejavu-core (2.37-1) ... Setting up ucf (3.0038+nmu1) ... Setting up libsensors5:i386 (1:3.5.0-3ubuntu1) ... Setting up libk5crypto3:i386 (1.17-6) ... Setting up libjpeg-turbo8:i386 (2.0.3-0ubuntu1) ... Setting up libqt5core5a:i386 (5.12.5+dfsg-2) ... Setting up libltdl7:i386 (2.4.6-11) ... Setting up libfftw3-double3:i386 (3.3.8-2) ... Setting up libglapi-mesa:i386 (19.2.1-1ubuntu1) ... Setting up libparams-util-perl (1.07-3build5) ... Setting up libsasl2-2:i386 (2.1.27+dfsg-1build3) ... Setting up libgfortran5:i386 (9.2.1-18ubuntu1) ... Setting up libmtdev1:i386 (1.1.5-1ubuntu3) ... Setting up libroken18-heimdal:i386 (7.5.0+dfsg-3build1) ... Setting up libcapture-tiny-perl (0.48-1) ... Setting up libtimedate-perl (2.3000-2) ... Setting up libexporter-lite-perl (0.08-1) ... Setting up zlib1g-dev:i386 (1:1.2.11.dfsg-1ubuntu3) ... Setting up libparse-recdescent-perl (1.967015+dfsg-2) ... Setting up libxshmfence1:i386 (1.3-1) ... Setting up libqt5dbus5:i386 (5.12.5+dfsg-2) ... Setting up libpath-tiny-perl (0.108-1) ... Setting up libuchardet0:i386 (0.0.6-3) ... Setting up liblua5.3-0:i386 (5.3.3-1.1ubuntu1) ... Setting up libjson-perl (4.02000-1) ... Setting up libasound2:i386 (1.1.9-0ubuntu1) ... Setting up libmousex-strictconstructor-perl (0.02-2) ... Setting up libsub-uplevel-perl (0.2800-1) ... Setting up libsub-override-perl (0.09-2) ... Setting up libharfbuzz0b:i386 (2.6.4-1) ... Setting up libthai-data (0.1.28-3) ... Setting up xorg-sgml-doctools (1:1.11-1) ... Setting up netbase (5.6) ... Setting up libcxsparse3:i386 (1:5.4.0+dfsg-1) ... Setting up libkrb5-3:i386 (1.17-6) ... Setting up libexporter-tiny-perl (1.002001-1) ... Setting up libtext-unidecode-perl (1.30-1) ... Setting up libfile-homedir-perl (1.004-1) ... Setting up libsamplerate0:i386 (0.1.9-2) ... Setting up libwebpmux3:i386 (0.6.1-2) ... Setting up libbsd0:i386 (0.10.0-1) ... Setting up libdrm-common (2.4.99-1ubuntu1) ... Setting up libelf1:i386 (0.176-1.1) ... Setting up libevdev2:i386 (1.8.0+dfsg-2) ... Setting up libxml2:i386 (2.9.4+dfsg1-7ubuntu5) ... Setting up libsuitesparseconfig5:i386 (1:5.4.0+dfsg-1) ... Setting up liburi-perl (1.76-1) ... Setting up libcarp-assert-perl (0.21-1) ... Setting up libgudev-1.0-0:i386 (1:233-1) ... Setting up libblas-dev:i386 (3.8.0-8) ... update-alternatives: using /usr/lib/i386-linux-gnu/blas/libblas.so to provide /usr/lib/i386-linux-gnu/libblas.so (libblas.so-i386-linux-gnu) in auto mode Setting up libsz2:i386 (1.0.4-1) ... Setting up libvorbisenc2:i386 (1.3.6-2) ... Setting up libheimbase1-heimdal:i386 (7.5.0+dfsg-3build1) ... Setting up libwacom-common (1.1-1) ... Setting up libmousex-nativetraits-perl (1.09-2) ... Setting up libxkbcommon0:i386 (0.9.1-1) ... Setting up libwayland-client0:i386 (1.17.0-1) ... Setting up libnet-ssleay-perl (1.88-0ubuntu2) ... Setting up libjpeg8:i386 (8c-2ubuntu8) ... Setting up x11proto-dev (2018.4-4) ... Setting up libfile-stripnondeterminism-perl (1.6.2-1) ... Setting up gnuplot-data (5.2.7+dfsg1-6) ... Setting up libamd2:i386 (1:5.4.0+dfsg-1) ... Setting up libice6:i386 (2:1.0.10-0ubuntu1) ... Setting up libhttp-date-perl (6.02-1) ... Setting up libjpeg-turbo8-dev:i386 (2.0.3-0ubuntu1) ... Setting up libxdmcp6:i386 (1:1.1.3-0ubuntu1) ... Setting up liblapack3:i386 (3.8.0-8) ... update-alternatives: using /usr/lib/i386-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/i386-linux-gnu/liblapack.so.3 (liblapack.so.3-i386-linux-gnu) in auto mode Setting up libxcb1:i386 (1.13.1-2) ... Setting up libxcb-xfixes0:i386 (1.13.1-2) ... Setting up libfile-listing-perl (6.04-1) ... Setting up libxau-dev:i386 (1:1.0.9-0ubuntu1) ... Setting up libcolamd2:i386 (1:5.4.0+dfsg-1) ... Setting up libxcb-xinput0:i386 (1.13.1-2) ... Setting up libtool (2.4.6-11) ... Setting up libxcb-render0:i386 (1.13.1-2) ... Setting up libxshmfence-dev:i386 (1.3-1) ... Setting up libfftw3-bin (3.3.8-2) ... Setting up fontconfig-config (2.13.1-2ubuntu2) ... Setting up liblist-moreutils-perl (0.416-1build5) ... Setting up libslicot0:i386 (5.0+20101122-4) ... Setting up libxcb-glx0:i386 (1.13.1-2) ... Setting up libasn1-8-heimdal:i386 (7.5.0+dfsg-3build1) ... Setting up libedit2:i386 (3.1-20191025-1) ... Setting up libhash-merge-perl (0.300-1) ... Setting up libxcb-keysyms1:i386 (0.4.0-1build1) ... Setting up libaec-dev:i386 (1.0.4-1) ... Setting up libarpack2:i386 (3.7.0-3) ... Setting up libxcb-shape0:i386 (1.13.1-2) ... Setting up libavahi-common3:i386 (0.7-4ubuntu5) ... Setting up libgfortran-9-dev:i386 (9.2.1-18ubuntu1) ... Setting up libnet-http-perl (6.19-1) ... Setting up m4 (1.4.18-4) ... Setting up libxcb-render-util0:i386 (0.3.9-1build1) ... Setting up libxcb-shm0:i386 (1.13.1-2) ... Setting up libxcb-icccm4:i386 (0.4.1-1.1) ... Setting up libqrupdate1:i386 (1.1.2-3) ... Setting up libdevel-callchecker-perl (0.008-1build1) ... Setting up libxml-sax-perl (1.02+dfsg-1) ... update-perl-sax-parsers: Registering Perl SAX parser XML::SAX::PurePerl with priority 10... update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... Creating config file /etc/perl/XML/SAX/ParserDetails.ini with new version Setting up libhcrypto4-heimdal:i386 (7.5.0+dfsg-3build1) ... Setting up libqt5network5:i386 (5.12.5+dfsg-2) ... Setting up libxcb-util1:i386 (0.4.0-0ubuntu3) ... Setting up libxcb-xkb1:i386 (1.13.1-2) ... Setting up libxcb-image0:i386 (0.4.0-1build1) ... Setting up libxcb-present0:i386 (1.13.1-2) ... Setting up libqt5sql5:i386 (5.12.5+dfsg-2) ... Setting up tex-common (6.12) ... update-language: texlive-base not installed and configured, doing nothing! Setting up libthai0:i386 (0.1.28-3) ... Setting up libcamd2:i386 (1:5.4.0+dfsg-1) ... Setting up libxdmcp-dev:i386 (1:1.1.3-0ubuntu1) ... Setting up libwind0-heimdal:i386 (7.5.0+dfsg-3build1) ... Setting up libqt5xml5:i386 (5.12.5+dfsg-2) ... Setting up libxcb-xinerama0:i386 (1.13.1-2) ... Setting up x11proto-damage-dev (1:2018.4-4) ... Setting up libtest-exception-perl (0.43-1) ... Setting up libglpk40:i386 (4.65-2) ... Setting up libxcb-sync1:i386 (1.13.1-2) ... Setting up x11proto-core-dev (2018.4-4) ... Setting up libhdf5-103:i386 (1.10.4+repack-10) ... Setting up bsdmainutils (11.1.2ubuntu2) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up libxkbcommon-x11-0:i386 (0.9.1-1) ... Setting up liblapack-dev:i386 (3.8.0-8) ... update-alternatives: using /usr/lib/i386-linux-gnu/lapack/liblapack.so to provide /usr/lib/i386-linux-gnu/liblapack.so (liblapack.so-i386-linux-gnu) in auto mode Setting up libgssapi-krb5-2:i386 (1.17-6) ... Setting up libdata-optlist-perl (0.110-1) ... Setting up libcroco3:i386 (0.6.13-1) ... Setting up libssh-4:i386 (0.9.0-1ubuntu1) ... Setting up autoconf (2.69-11ubuntu1) ... Setting up libxml-libxml-perl (2.0134+dfsg-1build1) ... update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX::Parser with priority 50... update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX with priority 50... update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... Replacing config file /etc/perl/XML/SAX/ParserDetails.ini with new version Setting up libxcb-dri2-0:i386 (1.13.1-2) ... Setting up dh-strip-nondeterminism (1.6.2-1) ... Setting up libwww-robotrules-perl (6.02-1) ... Setting up x11proto-xf86vidmode-dev (2018.4-4) ... Setting up libjack-jackd2-0:i386 (1.9.12~dfsg-2build1) ... Setting up x11proto-xext-dev (2018.4-4) ... Setting up libdrm2:i386 (2.4.99-1ubuntu1) ... Setting up dwz (0.13-2) ... Setting up groff-base (1.22.4-3) ... Setting up libccolamd2:i386 (1:5.4.0+dfsg-1) ... Setting up libxcb-randr0:i386 (1.13.1-2) ... Setting up libhtml-parser-perl (3.72-3build3) ... Setting up libx11-6:i386 (2:1.6.8-1) ... Setting up libtiff5:i386 (4.1.0-1) ... Setting up libfontconfig1:i386 (2.13.1-2ubuntu2) ... Setting up libsndfile1:i386 (1.0.28-6) ... Setting up libjpeg8-dev:i386 (8c-2ubuntu8) ... Setting up x11proto-fixes-dev (1:2018.4-4) ... Setting up libwacom2:i386 (1.1-1) ... Setting up libsm6:i386 (2:1.2.3-1) ... Setting up libfftw3-dev:i386 (3.3.8-2) ... Setting up libavahi-client3:i386 (0.7-4ubuntu5) ... Setting up libcholmod3:i386 (1:5.4.0+dfsg-1) ... Setting up libllvm9:i386 (1:9.0.0-3ubuntu2) ... Setting up libio-socket-ssl-perl (2.066-0ubuntu4) ... Setting up libsub-exporter-perl (0.987-1) ... Setting up libhttp-message-perl (6.18-1) ... Setting up libdrm-amdgpu1:i386 (2.4.99-1ubuntu1) ... Setting up automake (1:1.16.1-4ubuntu3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libxcb-dri3-0:i386 (1.13.1-2) ... Setting up libportaudio2:i386 (19.6.0-1) ... Setting up libhttp-negotiate-perl (6.01-1) ... Setting up fontconfig (2.13.1-2ubuntu2) ... Regenerating fonts cache... done. Setting up libcarp-assert-more-perl (1.20-1) ... Setting up libdrm-nouveau2:i386 (2.4.99-1ubuntu1) ... Setting up gettext (0.19.8.1-9) ... Setting up libxdamage1:i386 (1:1.1.5-1) ... Setting up libxcb1-dev:i386 (1.13.1-2) ... Setting up libxpm4:i386 (1:3.5.12-1) ... Setting up libxrender1:i386 (1:0.9.10-1) ... Setting up gfortran-9 (9.2.1-18ubuntu1) ... Setting up libgbm1:i386 (19.2.1-1ubuntu1) ... Setting up libhttp-cookies-perl (6.04-2) ... Setting up libwmf0.2-7:i386 (0.2.8.4-15) ... Setting up libdrm-radeon1:i386 (2.4.99-1ubuntu1) ... Setting up libhx509-5-heimdal:i386 (7.5.0+dfsg-3build1) ... Setting up libhtml-tree-perl (5.07-2) ... Setting up libparams-classify-perl (0.015-1build2) ... Setting up libpango-1.0-0:i386 (1.44.7-1) ... Setting up libdrm-intel1:i386 (2.4.99-1ubuntu1) ... Setting up libgl1-mesa-dri:i386 (19.2.1-1ubuntu1) ... Setting up libhdf5-cpp-103:i386 (1.10.4+repack-10) ... Setting up libjpeg-dev:i386 (8c-2ubuntu8) ... Setting up libx11-dev:i386 (2:1.6.8-1) ... Setting up libxext6:i386 (2:1.3.4-0ubuntu1) ... Setting up libxcb-dri3-dev:i386 (1.13.1-2) ... Setting up man-db (2.9.0-1) ... Not building database; man-db/auto-update is not 'true'. Created symlink /etc/systemd/system/timers.target.wants/man-db.timer → /lib/systemd/system/man-db.timer. Setting up gfortran (4:9.2.1-3.1ubuntu1) ... update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f95 (f95) in auto mode update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f77 (f77) in auto mode Setting up libcairo2:i386 (1.16.0-4) ... Setting up libxxf86vm1:i386 (1:1.1.4-1build1) ... Setting up libinput-bin (1.14.3-1) ... Setting up intltool-debian (0.35.0+20060710.5) ... Setting up libegl-mesa0:i386 (19.2.1-1ubuntu1) ... Setting up libxcb-dri2-0-dev:i386 (1.13.1-2) ... Setting up libumfpack5:i386 (1:5.4.0+dfsg-1) ... Setting up libnet-smtp-ssl-perl (1.04-1) ... Setting up libmodule-runtime-perl (0.016-1) ... Setting up libmailtools-perl (2.21-1) ... Setting up libxfixes3:i386 (1:5.0.3-1) ... Setting up libconfig-model-perl (2.136-1) ... Setting up libxinerama1:i386 (2:1.1.4-2) ... Setting up libhdf5-dev (1.10.4+repack-10) ... update-alternatives: using /usr/lib/i386-linux-gnu/pkgconfig/hdf5-serial.pc to provide /usr/lib/i386-linux-gnu/pkgconfig/hdf5.pc (hdf5.pc) in auto mode Setting up libgd3:i386 (2.2.5-5.2) ... Setting up libgraphicsmagick-q16-3 (1.4+really1.3.33+hg16117-1) ... Setting up libxcb-render0-dev:i386 (1.13.1-2) ... Setting up libxcb-glx0-dev:i386 (1.13.1-2) ... Setting up texinfo (6.6.0.dfsg.1-2ubuntu3) ... Setting up libxcb-shape0-dev:i386 (1.13.1-2) ... Setting up libxext-dev:i386 (2:1.3.4-0ubuntu1) ... Setting up libcups2:i386 (2.3.0-7) ... Setting up libegl1:i386 (1.1.1-0ubuntu1) ... Setting up libxcb-sync-dev:i386 (1.13.1-2) ... Setting up libgraphicsmagick++-q16-12 (1.4+really1.3.33+hg16117-1) ... Setting up libxcb-xfixes0-dev:i386 (1.13.1-2) ... Setting up libpangoft2-1.0-0:i386 (1.44.7-1) ... Setting up libstring-rewriteprefix-perl (0.007-2) ... Setting up libpangocairo-1.0-0:i386 (1.44.7-1) ... Setting up libkrb5-26-heimdal:i386 (7.5.0+dfsg-3build1) ... Setting up libinput10:i386 (1.14.3-1) ... Setting up libx11-xcb-dev:i386 (2:1.6.8-1) ... Setting up libdrm-dev:i386 (2.4.99-1ubuntu1) ... Setting up libxft2:i386 (2.3.3-0ubuntu1) ... Setting up libglx-mesa0:i386 (19.2.1-1ubuntu1) ... Setting up libglx0:i386 (1.1.1-0ubuntu1) ... Setting up libmodule-implementation-perl (0.09-1) ... Setting up libpackage-stash-perl (0.38-1) ... Setting up po-debconf (1.0.21) ... Setting up libxxf86vm-dev:i386 (1:1.1.4-1build1) ... Setting up libxcursor1:i386 (1:1.2.0-2) ... Setting up libmime-tools-perl (5.509-1) ... Setting up libheimntlm0-heimdal:i386 (7.5.0+dfsg-3build1) ... Setting up libclass-load-perl (0.25-1) ... Setting up libxfixes-dev:i386 (1:5.0.3-1) ... Setting up libgl1:i386 (1.1.1-0ubuntu1) ... Setting up libgssapi3-heimdal:i386 (7.5.0+dfsg-3build1) ... Setting up libxcb-randr0-dev:i386 (1.13.1-2) ... Setting up libxcb-present-dev:i386 (1.13.1-2) ... Setting up mesa-common-dev:i386 (19.2.1-1ubuntu1) ... Setting up libglu1-mesa:i386 (9.0.1-0ubuntu1) ... Setting up gnuplot-nox (5.2.7+dfsg1-6) ... update-alternatives: using /usr/bin/gnuplot-nox to provide /usr/bin/gnuplot (gnuplot) in auto mode Setting up libparams-validate-perl (1.29-3) ... Setting up libxdamage-dev:i386 (1:1.1.5-1) ... Setting up libfltk1.3:i386 (1.3.4-10) ... Setting up libfltk-gl1.3:i386 (1.3.4-10) ... Setting up libqt5gui5:i386 (5.12.5+dfsg-2) ... Setting up libldap-2.4-2:i386 (2.4.48+dfsg-1ubuntu3) ... Setting up libglvnd-dev:i386 (1.1.1-0ubuntu1) ... Setting up libcurl3-gnutls:i386 (7.65.3-1ubuntu4) ... Setting up libqt5widgets5:i386 (5.12.5+dfsg-2) ... Setting up libqt5help5:i386 (5.12.5-2) ... Setting up libgl2ps1.4 (1.4.0+dfsg1-2) ... Setting up libqt5printsupport5:i386 (5.12.5+dfsg-2) ... Setting up liboctave7:i386 (5.1.0-4) ... Setting up dh-octave-autopkgtest (0.7.2) ... Setting up libgetopt-long-descriptive-perl (0.104-1) ... Setting up libqscintilla2-qt5-13 (2.10.4+dfsg-2.1ubuntu1) ... Setting up libgl1-mesa-dev:i386 (19.2.1-1ubuntu1) ... Setting up libapp-cmd-perl (0.331-1) ... Setting up octave (5.1.0-4) ... Setting up cme (1.030-1) ... Setting up liboctave-dev (5.1.0-4) ... Setting up octave-control (3.2.0-3) ... Setting up dh-autoreconf (19) ... Setting up liblwp-protocol-https-perl (6.07-2ubuntu2) ... Setting up libwww-perl (6.39-1) ... Setting up debhelper (12.7.1ubuntu1) ... Setting up libparse-debcontrol-perl (2.005-4) ... Setting up dh-octave (0.7.2) ... Setting up sbuild-build-depends-octave-signal-dummy (0.invalid.0) ... Processing triggers for libc-bin (2.30-0ubuntu2) ... Processing triggers for systemd (243-3ubuntu1) ... +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 4.4.0-166-generic amd64 (i686) Toolchain package versions: binutils_2.33.1-1ubuntu1 dpkg-dev_1.19.7ubuntu2 g++-9_9.2.1-18ubuntu1 gcc-9_9.2.1-18ubuntu1 libc6-dev_2.30-0ubuntu2 libstdc++-9-dev_9.2.1-18ubuntu1 libstdc++6_9.2.1-18ubuntu1 linux-libc-dev_5.3.0-21.22 Package versions: adduser_3.118ubuntu1 advancecomp_2.1-2.1 aglfn_1.7-3 apt_1.9.4 autoconf_2.69-11ubuntu1 automake_1:1.16.1-4ubuntu3 autopoint_0.19.8.1-9 autotools-dev_20180224.1 base-files_11ubuntu1 base-passwd_3.5.46 bash_5.0-4ubuntu1 binutils_2.33.1-1ubuntu1 binutils-common_2.33.1-1ubuntu1 binutils-i686-linux-gnu_2.33.1-1ubuntu1 bsdmainutils_11.1.2ubuntu2 bsdutils_1:2.34-0.1ubuntu2 build-essential_12.8ubuntu1 bzip2_1.0.8-2 ca-certificates_20190110 cme_1.030-1 coreutils_8.30-3ubuntu2 cpp_4:9.2.1-3.1ubuntu1 cpp-9_9.2.1-18ubuntu1 dash_0.5.10.2-6 debconf_1.5.73 debhelper_12.7.1ubuntu1 debianutils_4.9 dh-autoreconf_19 dh-octave_0.7.2 dh-octave-autopkgtest_0.7.2 dh-strip-nondeterminism_1.6.2-1 diffutils_1:3.7-3 dpkg_1.19.7ubuntu2 dpkg-dev_1.19.7ubuntu2 dwz_0.13-2 e2fsprogs_1.45.3-4ubuntu2 fakeroot_1.24-1 fdisk_2.34-0.1ubuntu2 file_1:5.37-6 findutils_4.6.0+git+20190209-2ubuntu1 fontconfig_2.13.1-2ubuntu2 fontconfig-config_2.13.1-2ubuntu2 fonts-dejavu-core_2.37-1 fonts-freefont-otf_20120503-9 g++_4:9.2.1-3.1ubuntu1 g++-9_9.2.1-18ubuntu1 gcc_4:9.2.1-3.1ubuntu1 gcc-9_9.2.1-18ubuntu1 gcc-9-base_9.2.1-18ubuntu1 gettext_0.19.8.1-9 gettext-base_0.19.8.1-9 gfortran_4:9.2.1-3.1ubuntu1 gfortran-9_9.2.1-18ubuntu1 gnuplot-data_5.2.7+dfsg1-6 gnuplot-nox_5.2.7+dfsg1-6 gpg_2.2.12-1ubuntu3 gpg-agent_2.2.12-1ubuntu3 gpgconf_2.2.12-1ubuntu3 gpgv_2.2.12-1ubuntu3 grep_3.3-1build1 groff-base_1.22.4-3 gzip_1.10-0ubuntu3 hdf5-helpers_1.10.4+repack-10 hostname_3.23 init_1.57 init-system-helpers_1.57 intltool-debian_0.35.0+20060710.5 libacl1_2.2.53-5 libaec-dev_1.0.4-1 libaec0_1.0.4-1 libamd2_1:5.4.0+dfsg-1 libapp-cmd-perl_0.331-1 libapparmor1_2.13.3-5ubuntu5 libapt-pkg5.90_1.9.4 libarchive-zip-perl_1.67-1 libargon2-1_0~20171227-0.2 libarpack2_3.7.0-3 libasan5_9.2.1-18ubuntu1 libasn1-8-heimdal_7.5.0+dfsg-3build1 libasound2_1.1.9-0ubuntu1 libasound2-data_1.1.9-0ubuntu1 libassuan0_2.5.3-7ubuntu1 libatomic1_9.2.1-18ubuntu1 libattr1_1:2.4.48-5 libaudit-common_1:2.8.5-2ubuntu2 libaudit1_1:2.8.5-2ubuntu2 libavahi-client3_0.7-4ubuntu5 libavahi-common-data_0.7-4ubuntu5 libavahi-common3_0.7-4ubuntu5 libb-hooks-op-check-perl_0.22-1build2 libbinutils_2.33.1-1ubuntu1 libblas-dev_3.8.0-8 libblas3_3.8.0-8 libblkid1_2.34-0.1ubuntu2 libboolean-perl_0.46-1 libbsd0_0.10.0-1 libbz2-1.0_1.0.8-2 libc-bin_2.30-0ubuntu2 libc-dev-bin_2.30-0ubuntu2 libc6_2.30-0ubuntu2 libc6-dev_2.30-0ubuntu2 libcairo2_1.16.0-4 libcamd2_1:5.4.0+dfsg-1 libcap-ng0_0.7.9-2.1 libcap2_1:2.27-1 libcapture-tiny-perl_0.48-1 libcarp-assert-more-perl_1.20-1 libcarp-assert-perl_0.21-1 libcc1-0_9.2.1-18ubuntu1 libccolamd2_1:5.4.0+dfsg-1 libcholmod3_1:5.4.0+dfsg-1 libclass-load-perl_0.25-1 libclone-choose-perl_0.010-1 libcolamd2_1:5.4.0+dfsg-1 libcom-err2_1.45.3-4ubuntu2 libconfig-model-perl_2.136-1 libconvert-binhex-perl_1.125-1 libcroco3_0.6.13-1 libcryptsetup12_2:2.2.1-1ubuntu1 libcups2_2.3.0-7 libcurl3-gnutls_7.65.3-1ubuntu4 libcxsparse3_1:5.4.0+dfsg-1 libdata-optlist-perl_0.110-1 libdatrie1_0.2.12-3 libdb5.3_5.3.28+dfsg1-0.6ubuntu1 libdbus-1-3_1.12.14-1ubuntu2 libdebconfclient0_0.250ubuntu1 libdebhelper-perl_12.7.1ubuntu1 libdevel-callchecker-perl_0.008-1build1 libdevmapper1.02.1_2:1.02.155-2ubuntu6 libdouble-conversion3_3.1.5-2 libdpkg-perl_1.19.7ubuntu2 libdrm-amdgpu1_2.4.99-1ubuntu1 libdrm-common_2.4.99-1ubuntu1 libdrm-dev_2.4.99-1ubuntu1 libdrm-intel1_2.4.99-1ubuntu1 libdrm-nouveau2_2.4.99-1ubuntu1 libdrm-radeon1_2.4.99-1ubuntu1 libdrm2_2.4.99-1ubuntu1 libdynaloader-functions-perl_0.003-1 libedit2_3.1-20191025-1 libegl-mesa0_19.2.1-1ubuntu1 libegl1_1.1.1-0ubuntu1 libelf1_0.176-1.1 libencode-locale-perl_1.05-1 liberror-perl_0.17028-1 libevdev2_1.8.0+dfsg-2 libexpat1_2.2.9-1 libexporter-lite-perl_0.08-1 libexporter-tiny-perl_1.002001-1 libext2fs2_1.45.3-4ubuntu2 libfakeroot_1.24-1 libfdisk1_2.34-0.1ubuntu2 libffi6_3.2.1-9 libfftw3-bin_3.3.8-2 libfftw3-dev_3.3.8-2 libfftw3-double3_3.3.8-2 libfftw3-long3_3.3.8-2 libfftw3-quad3_3.3.8-2 libfftw3-single3_3.3.8-2 libfile-find-rule-perl_0.34-1 libfile-homedir-perl_1.004-1 libfile-listing-perl_6.04-1 libfile-stripnondeterminism-perl_1.6.2-1 libfile-which-perl_1.23-1 libflac8_1.3.3-1 libfltk-gl1.3_1.3.4-10 libfltk1.3_1.3.4-10 libfontconfig1_2.13.1-2ubuntu2 libfreetype6_2.10.1-2 libfribidi0_1.0.7-1 libgbm1_19.2.1-1ubuntu1 libgcc-9-dev_9.2.1-18ubuntu1 libgcc1_1:9.2.1-18ubuntu1 libgcrypt20_1.8.5-3ubuntu1 libgd3_2.2.5-5.2 libgdbm-compat4_1.18.1-5 libgdbm6_1.18.1-5 libgetopt-long-descriptive-perl_0.104-1 libgfortran-9-dev_9.2.1-18ubuntu1 libgfortran5_9.2.1-18ubuntu1 libgl1_1.1.1-0ubuntu1 libgl1-mesa-dev_19.2.1-1ubuntu1 libgl1-mesa-dri_19.2.1-1ubuntu1 libgl2ps1.4_1.4.0+dfsg1-2 libglapi-mesa_19.2.1-1ubuntu1 libgles1_1.1.1-0ubuntu1 libgles2_1.1.1-0ubuntu1 libglib2.0-0_2.63.1-1 libglpk40_4.65-2 libglu1-mesa_9.0.1-0ubuntu1 libglvnd-core-dev_1.1.1-0ubuntu1 libglvnd-dev_1.1.1-0ubuntu1 libglvnd0_1.1.1-0ubuntu1 libglx-mesa0_19.2.1-1ubuntu1 libglx0_1.1.1-0ubuntu1 libgmp10_2:6.1.2+dfsg-4 libgnutls30_3.6.9-5ubuntu2 libgomp1_9.2.1-18ubuntu1 libgpg-error0_1.36-7 libgraphicsmagick++-q16-12_1.4+really1.3.33+hg16117-1 libgraphicsmagick-q16-3_1.4+really1.3.33+hg16117-1 libgraphite2-3_1.3.13-11 libgssapi-krb5-2_1.17-6 libgssapi3-heimdal_7.5.0+dfsg-3build1 libgudev-1.0-0_1:233-1 libharfbuzz0b_2.6.4-1 libhash-merge-perl_0.300-1 libhcrypto4-heimdal_7.5.0+dfsg-3build1 libhdf5-103_1.10.4+repack-10 libhdf5-cpp-103_1.10.4+repack-10 libhdf5-dev_1.10.4+repack-10 libheimbase1-heimdal_7.5.0+dfsg-3build1 libheimntlm0-heimdal_7.5.0+dfsg-3build1 libhogweed4_3.4.1-1 libhogweed5_3.5.1+really3.5.1-2 libhtml-parser-perl_3.72-3build3 libhtml-tagset-perl_3.20-3 libhtml-tree-perl_5.07-2 libhttp-cookies-perl_6.04-2 libhttp-date-perl_6.02-1 libhttp-message-perl_6.18-1 libhttp-negotiate-perl_6.01-1 libhx509-5-heimdal_7.5.0+dfsg-3build1 libice6_2:1.0.10-0ubuntu1 libicu63_63.2-2 libidn2-0_2.2.0-2 libinput-bin_1.14.3-1 libinput10_1.14.3-1 libio-html-perl_1.001-1 libio-socket-ssl-perl_2.066-0ubuntu4 libio-stringy-perl_2.111-3 libio-tiecombine-perl_1.005-1 libip4tc2_1.8.3-2ubuntu5 libisl21_0.21-2 libitm1_9.2.1-18ubuntu1 libjack-jackd2-0_1.9.12~dfsg-2build1 libjbig0_2.1-3.1build1 libjpeg-dev_8c-2ubuntu8 libjpeg-turbo8_2.0.3-0ubuntu1 libjpeg-turbo8-dev_2.0.3-0ubuntu1 libjpeg8_8c-2ubuntu8 libjpeg8-dev_8c-2ubuntu8 libjson-c4_0.13.1+dfsg-6 libjson-perl_4.02000-1 libk5crypto3_1.17-6 libkeyutils1_1.6-6ubuntu1 libkmod2_26-3ubuntu1 libkrb5-26-heimdal_7.5.0+dfsg-3build1 libkrb5-3_1.17-6 libkrb5support0_1.17-6 liblapack-dev_3.8.0-8 liblapack3_3.8.0-8 liblcms2-2_2.9-4 libldap-2.4-2_2.4.48+dfsg-1ubuntu3 libldap-common_2.4.48+dfsg-1ubuntu3 liblist-moreutils-perl_0.416-1build5 libllvm9_1:9.0.0-3ubuntu2 liblockfile-bin_1.16-1.1 liblockfile1_1.16-1.1 liblog-log4perl-perl_1.49-1 libltdl7_2.4.6-11 liblua5.3-0_5.3.3-1.1ubuntu1 liblwp-mediatypes-perl_6.04-1 liblwp-protocol-https-perl_6.07-2ubuntu2 liblz4-1_1.9.2-1 liblzma5_5.2.4-1 libmagic-mgc_1:5.37-6 libmagic1_1:5.37-6 libmailtools-perl_2.21-1 libmetis5_5.1.0.dfsg-5 libmime-tools-perl_5.509-1 libmodule-implementation-perl_0.09-1 libmodule-pluggable-perl_5.2-1 libmodule-runtime-perl_0.016-1 libmount1_2.34-0.1ubuntu2 libmouse-perl_2.5.9-1 libmousex-nativetraits-perl_1.09-2 libmousex-strictconstructor-perl_0.02-2 libmpc3_1.1.0-1 libmpfr6_4.0.2-1 libmtdev1_1.1.5-1ubuntu3 libncurses-dev_6.1+20191019-1ubuntu1 libncurses6_6.1+20191019-1ubuntu1 libncursesw6_6.1+20191019-1ubuntu1 libnet-http-perl_6.19-1 libnet-smtp-ssl-perl_1.04-1 libnet-ssleay-perl_1.88-0ubuntu2 libnettle6_3.4.1-1 libnettle7_3.5.1+really3.5.1-2 libnghttp2-14_1.39.2-1 libnpth0_1.6-1 libnumber-compare-perl_0.03-1 liboctave-dev_5.1.0-4 liboctave7_5.1.0-4 libogg0_1.3.4-0ubuntu1 libopengl0_1.1.1-0ubuntu1 libp11-kit0_0.23.18.1-2 libpackage-stash-perl_0.38-1 libpam-modules_1.3.1-5ubuntu1 libpam-modules-bin_1.3.1-5ubuntu1 libpam-runtime_1.3.1-5ubuntu1 libpam0g_1.3.1-5ubuntu1 libpango-1.0-0_1.44.7-1 libpangocairo-1.0-0_1.44.7-1 libpangoft2-1.0-0_1.44.7-1 libparams-classify-perl_0.015-1build2 libparams-util-perl_1.07-3build5 libparams-validate-perl_1.29-3 libparse-debcontrol-perl_2.005-4 libparse-recdescent-perl_1.967015+dfsg-2 libpath-tiny-perl_0.108-1 libpciaccess0_0.16-0ubuntu1 libpcre2-16-0_10.32-5 libpcre2-8-0_10.32-5 libpcre3_2:8.39-12 libperl5.28_5.28.1-6build1 libperl5.30_5.30.0-9 libpipeline1_1.5.1-2 libpixman-1-0_0.38.4-0ubuntu1 libpng16-16_1.6.37-1 libpod-pom-perl_2.01-3 libportaudio2_19.6.0-1 libprocps7_2:3.3.15-2ubuntu3 libpsl5_0.20.2-2 libpthread-stubs0-dev_0.4-1 libqhull7_2015.2-4 libqrupdate1_1.1.2-3 libqscintilla2-qt5-13_2.10.4+dfsg-2.1ubuntu1 libqscintilla2-qt5-l10n_2.10.4+dfsg-2.1ubuntu1 libqt5core5a_5.12.5+dfsg-2 libqt5dbus5_5.12.5+dfsg-2 libqt5gui5_5.12.5+dfsg-2 libqt5help5_5.12.5-2 libqt5network5_5.12.5+dfsg-2 libqt5printsupport5_5.12.5+dfsg-2 libqt5sql5_5.12.5+dfsg-2 libqt5widgets5_5.12.5+dfsg-2 libqt5xml5_5.12.5+dfsg-2 libquadmath0_9.2.1-18ubuntu1 libreadline-dev_8.0-3 libreadline8_8.0-3 libregexp-common-perl_2017060201-1 libroken18-heimdal_7.5.0+dfsg-3build1 librtmp1_2.4+20151223.gitfa8646d.1-2build1 libsamplerate0_0.1.9-2 libsasl2-2_2.1.27+dfsg-1build3 libsasl2-modules-db_2.1.27+dfsg-1build3 libseccomp2_2.4.1-0ubuntu0.19.10.3 libselinux1_2.9-2build1 libsemanage-common_2.9-3build1 libsemanage1_2.9-3build1 libsensors-config_1:3.5.0-3ubuntu1 libsensors5_1:3.5.0-3ubuntu1 libsepol1_2.9-2 libsigsegv2_2.12-2 libslicot0_5.0+20101122-4 libsm6_2:1.2.3-1 libsmartcols1_2.34-0.1ubuntu2 libsndfile1_1.0.28-6 libsqlite3-0_3.30.1-1 libss2_1.45.3-4ubuntu2 libssh-4_0.9.0-1ubuntu1 libssl1.1_1.1.1c-1ubuntu4 libstdc++-9-dev_9.2.1-18ubuntu1 libstdc++6_9.2.1-18ubuntu1 libstring-rewriteprefix-perl_0.007-2 libsub-exporter-perl_0.987-1 libsub-install-perl_0.928-1 libsub-override-perl_0.09-2 libsub-uplevel-perl_0.2800-1 libsuitesparseconfig5_1:5.4.0+dfsg-1 libsystemd0_243-3ubuntu1 libsz2_1.0.4-1 libtasn1-6_4.14-3 libtest-exception-perl_0.43-1 libtext-glob-perl_0.10-1 libtext-unidecode-perl_1.30-1 libthai-data_0.1.28-3 libthai0_0.1.28-3 libtiff5_4.1.0-1 libtimedate-perl_2.3000-2 libtinfo6_6.1+20191019-1ubuntu1 libtool_2.4.6-11 libtry-tiny-perl_0.30-1 libubsan1_9.2.1-18ubuntu1 libuchardet0_0.0.6-3 libudev1_243-3ubuntu1 libumfpack5_1:5.4.0+dfsg-1 libunistring2_0.9.10-2 liburi-perl_1.76-1 libuuid1_2.34-0.1ubuntu2 libvorbis0a_1.3.6-2 libvorbisenc2_1.3.6-2 libwacom-common_1.1-1 libwacom2_1.1-1 libwayland-client0_1.17.0-1 libwayland-server0_1.17.0-1 libwebp6_0.6.1-2 libwebpmux3_0.6.1-2 libwind0-heimdal_7.5.0+dfsg-3build1 libwmf0.2-7_0.2.8.4-15 libwww-perl_6.39-1 libwww-robotrules-perl_6.02-1 libx11-6_2:1.6.8-1 libx11-data_2:1.6.8-1 libx11-dev_2:1.6.8-1 libx11-xcb-dev_2:1.6.8-1 libx11-xcb1_2:1.6.8-1 libxau-dev_1:1.0.9-0ubuntu1 libxau6_1:1.0.9-0ubuntu1 libxcb-dri2-0_1.13.1-2 libxcb-dri2-0-dev_1.13.1-2 libxcb-dri3-0_1.13.1-2 libxcb-dri3-dev_1.13.1-2 libxcb-glx0_1.13.1-2 libxcb-glx0-dev_1.13.1-2 libxcb-icccm4_0.4.1-1.1 libxcb-image0_0.4.0-1build1 libxcb-keysyms1_0.4.0-1build1 libxcb-present-dev_1.13.1-2 libxcb-present0_1.13.1-2 libxcb-randr0_1.13.1-2 libxcb-randr0-dev_1.13.1-2 libxcb-render-util0_0.3.9-1build1 libxcb-render0_1.13.1-2 libxcb-render0-dev_1.13.1-2 libxcb-shape0_1.13.1-2 libxcb-shape0-dev_1.13.1-2 libxcb-shm0_1.13.1-2 libxcb-sync-dev_1.13.1-2 libxcb-sync1_1.13.1-2 libxcb-util1_0.4.0-0ubuntu3 libxcb-xfixes0_1.13.1-2 libxcb-xfixes0-dev_1.13.1-2 libxcb-xinerama0_1.13.1-2 libxcb-xinput0_1.13.1-2 libxcb-xkb1_1.13.1-2 libxcb1_1.13.1-2 libxcb1-dev_1.13.1-2 libxcursor1_1:1.2.0-2 libxdamage-dev_1:1.1.5-1 libxdamage1_1:1.1.5-1 libxdmcp-dev_1:1.1.3-0ubuntu1 libxdmcp6_1:1.1.3-0ubuntu1 libxext-dev_2:1.3.4-0ubuntu1 libxext6_2:1.3.4-0ubuntu1 libxfixes-dev_1:5.0.3-1 libxfixes3_1:5.0.3-1 libxft2_2.3.3-0ubuntu1 libxinerama1_2:1.1.4-2 libxkbcommon-x11-0_0.9.1-1 libxkbcommon0_0.9.1-1 libxml-libxml-perl_2.0134+dfsg-1build1 libxml-namespacesupport-perl_1.12-1 libxml-sax-base-perl_1.09-1 libxml-sax-perl_1.02+dfsg-1 libxml2_2.9.4+dfsg1-7ubuntu5 libxpm4_1:3.5.12-1 libxrender1_1:0.9.10-1 libxshmfence-dev_1.3-1 libxshmfence1_1.3-1 libxxf86vm-dev_1:1.1.4-1build1 libxxf86vm1_1:1.1.4-1build1 libyaml-perl_1.29-1 libzstd1_1.4.3+dfsg-1 linux-libc-dev_5.3.0-21.22 lockfile-progs_0.1.18 login_1:4.5-1.1ubuntu4 logsave_1.45.3-4ubuntu2 lsb-base_11.1.0ubuntu1 m4_1.4.18-4 make_4.2.1-1.2 man-db_2.9.0-1 mawk_1.3.3-17ubuntu3 mesa-common-dev_19.2.1-1ubuntu1 mount_2.34-0.1ubuntu2 ncurses-base_6.1+20191019-1ubuntu1 ncurses-bin_6.1+20191019-1ubuntu1 netbase_5.6 octave_5.1.0-4 octave-common_5.1.0-4 octave-control_3.2.0-3 openssl_1.1.1c-1ubuntu4 optipng_0.7.7-1 passwd_1:4.5-1.1ubuntu4 patch_2.7.6-6 perl_5.30.0-9 perl-base_5.30.0-9 perl-modules-5.28_5.28.1-6build1 perl-modules-5.30_5.30.0-9 perl-openssl-defaults_3build1 pinentry-curses_1.1.0-3 pkgbinarymangler_144 po-debconf_1.0.21 policyrcd-script-zg2_0.1-3 procps_2:3.3.15-2ubuntu3 readline-common_8.0-3 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-octave-signal-dummy_0.invalid.0 sed_4.7-1 sensible-utils_0.0.12 systemd_243-3ubuntu1 systemd-sysv_243-3ubuntu1 sysvinit-utils_2.96-1ubuntu1 tar_1.30+dfsg-6 tex-common_6.12 texinfo_6.6.0.dfsg.1-2ubuntu3 tzdata_2019c-3 ubuntu-keyring_2018.09.18.1 ucf_3.0038+nmu1 util-linux_2.34-0.1ubuntu2 x11-common_1:7.7+19ubuntu12 x11proto-core-dev_2018.4-4 x11proto-damage-dev_1:2018.4-4 x11proto-dev_2018.4-4 x11proto-fixes-dev_1:2018.4-4 x11proto-xext-dev_2018.4-4 x11proto-xf86vidmode-dev_2018.4-4 xkb-data_2.26-2ubuntu2 xorg-sgml-doctools_1:1.11-1 xtrans-dev_1.3.5-1build1 xz-utils_5.2.4-1 zlib1g_1:1.2.11.dfsg-1ubuntu3 zlib1g-dev_1:1.2.11.dfsg-1ubuntu3 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- gpgv: Signature made Sat Nov 9 06:31:22 2019 UTC gpgv: using RSA key 3F464391498FE874BDB5D98F2124AA1983785C90 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./octave-signal_1.4.1-3.dsc dpkg-source: info: extracting octave-signal in octave-signal-1.4.1 dpkg-source: info: unpacking octave-signal_1.4.1.orig.tar.gz dpkg-source: info: unpacking octave-signal_1.4.1-3.debian.tar.xz Check disc space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf DEB_BUILD_OPTIONS=parallel=4 HOME=/sbuild-nonexistent LANG=C.UTF-8 LC_ALL=C.UTF-8 LOGNAME=buildd PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SCHROOT_ALIAS_NAME=build-PACKAGEBUILD-18076916 SCHROOT_CHROOT_NAME=build-PACKAGEBUILD-18076916 SCHROOT_COMMAND=env SCHROOT_GID=2501 SCHROOT_GROUP=buildd SCHROOT_SESSION_ID=build-PACKAGEBUILD-18076916 SCHROOT_UID=2001 SCHROOT_USER=buildd SHELL=/bin/sh TERM=unknown USER=buildd V=1 dpkg-buildpackage ----------------- dpkg-buildpackage: info: source package octave-signal dpkg-buildpackage: info: source version 1.4.1-3 dpkg-buildpackage: info: source distribution unstable dpkg-source --before-build . dpkg-buildpackage: info: host architecture i386 debian/rules clean dh clean --buildsystem=octave --with=octave dh_auto_clean -O--buildsystem=octave dh_octave_clean make[1]: Entering directory '/<>/src' rm -f *.o *.oct PKG_* make[1]: Leaving directory '/<>/src' dh_autoreconf_clean -O--buildsystem=octave dh_clean -O--buildsystem=octave debian/rules binary-arch dh binary-arch --buildsystem=octave --with=octave dh_update_autotools_config -a -O--buildsystem=octave dh_autoreconf -a -O--buildsystem=octave dh_octave_version -a -O--buildsystem=octave Checking the Octave version... ok dh_auto_configure -a -O--buildsystem=octave dh_auto_build -a -O--buildsystem=octave dh_auto_test -a -O--buildsystem=octave create-stamp debian/debhelper-build-stamp dh_testroot -a -O--buildsystem=octave dh_prep -a -O--buildsystem=octave dh_auto_install -a -O--buildsystem=octave octave --no-gui --no-history --silent --no-init-file --no-window-system /usr/share/dh-octave/install-pkg.m warning: creating installation directory /<>/debian/octave-signal/usr/share/octave/packages warning: called from install at line 30 column 5 pkg at line 441 column 9 /usr/share/dh-octave/install-pkg.m at line 43 column 1 make[1]: Entering directory '/<>/src' /usr/bin/mkoctfile --verbose -Wall -Wno-deprecated-declarations __fwht__.cc -o __fwht__.oct /usr/bin/mkoctfile --verbose -Wall -Wno-deprecated-declarations __ultrwin__.cc -o __ultrwin__.oct /usr/bin/mkoctfile --verbose -Wall -Wno-deprecated-declarations -c cl2bp.cc -o cl2bp.o g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-5.1.0/octave/.. -I/usr/include/octave-5.1.0/octave -pthread -fopenmp -mieee-fp -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-deprecated-declarations __fwht__.cc -o /tmp/oct-CW1VBt.o /usr/bin/mkoctfile --verbose -Wall -Wno-deprecated-declarations -c cl2bp_lib.cc -o cl2bp_lib.o g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-5.1.0/octave/.. -I/usr/include/octave-5.1.0/octave -pthread -fopenmp -mieee-fp -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-deprecated-declarations __ultrwin__.cc -o /tmp/oct-fWwExw.o g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-5.1.0/octave/.. -I/usr/include/octave-5.1.0/octave -pthread -fopenmp -mieee-fp -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-deprecated-declarations cl2bp.cc -o cl2bp.o g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-5.1.0/octave/.. -I/usr/include/octave-5.1.0/octave -pthread -fopenmp -mieee-fp -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-deprecated-declarations cl2bp_lib.cc -o cl2bp_lib.o /usr/bin/mkoctfile --verbose -Wall -Wno-deprecated-declarations medfilt1.cc -o medfilt1.oct g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-5.1.0/octave/.. -I/usr/include/octave-5.1.0/octave -pthread -fopenmp -mieee-fp -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-deprecated-declarations medfilt1.cc -o /tmp/oct-Ua9OeI.o g++ -I/usr/include/octave-5.1.0/octave/.. -I/usr/include/octave-5.1.0/octave -pthread -fopenmp -mieee-fp -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -shared -Wl,-Bsymbolic -Wl,-Bsymbolic-functions -Wl,-z,relro -Wall -Wno-deprecated-declarations -o __fwht__.oct /tmp/oct-CW1VBt.o -L/usr/lib/i386-linux-gnu -Wl,-Bsymbolic-functions -Wl,-z,relro /usr/bin/mkoctfile --verbose -Wall -Wno-deprecated-declarations remez.cc -o remez.oct g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-5.1.0/octave/.. -I/usr/include/octave-5.1.0/octave -pthread -fopenmp -mieee-fp -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-deprecated-declarations remez.cc -o /tmp/oct-TsmDjA.o /usr/bin/mkoctfile --verbose -Wall -Wno-deprecated-declarations sosfilt.cc -o sosfilt.oct g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-5.1.0/octave/.. -I/usr/include/octave-5.1.0/octave -pthread -fopenmp -mieee-fp -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-deprecated-declarations sosfilt.cc -o /tmp/oct-EG4AIT.o g++ -I/usr/include/octave-5.1.0/octave/.. -I/usr/include/octave-5.1.0/octave -pthread -fopenmp -mieee-fp -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -shared -Wl,-Bsymbolic -Wl,-Bsymbolic-functions -Wl,-z,relro -Wall -Wno-deprecated-declarations -o __ultrwin__.oct /tmp/oct-fWwExw.o -L/usr/lib/i386-linux-gnu -Wl,-Bsymbolic-functions -Wl,-z,relro /usr/bin/mkoctfile --verbose -Wall -Wno-deprecated-declarations upfirdn.cc -o upfirdn.oct g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-5.1.0/octave/.. -I/usr/include/octave-5.1.0/octave -pthread -fopenmp -mieee-fp -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-deprecated-declarations upfirdn.cc -o /tmp/oct-dj1Wcv.o g++ -I/usr/include/octave-5.1.0/octave/.. -I/usr/include/octave-5.1.0/octave -pthread -fopenmp -mieee-fp -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -shared -Wl,-Bsymbolic -Wl,-Bsymbolic-functions -Wl,-z,relro -Wall -Wno-deprecated-declarations -o medfilt1.oct /tmp/oct-Ua9OeI.o -L/usr/lib/i386-linux-gnu -Wl,-Bsymbolic-functions -Wl,-z,relro /usr/bin/mkoctfile --verbose -Wall -Wno-deprecated-declarations cl2bp.o cl2bp_lib.o -o cl2bp.oct g++ -I/usr/include/octave-5.1.0/octave/.. -I/usr/include/octave-5.1.0/octave -pthread -fopenmp -mieee-fp -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -shared -Wl,-Bsymbolic -Wl,-Bsymbolic-functions -Wl,-z,relro -Wall -Wno-deprecated-declarations -o cl2bp.oct cl2bp.o cl2bp_lib.o -L/usr/lib/i386-linux-gnu -Wl,-Bsymbolic-functions -Wl,-z,relro g++ -I/usr/include/octave-5.1.0/octave/.. -I/usr/include/octave-5.1.0/octave -pthread -fopenmp -mieee-fp -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -shared -Wl,-Bsymbolic -Wl,-Bsymbolic-functions -Wl,-z,relro -Wall -Wno-deprecated-declarations -o sosfilt.oct /tmp/oct-EG4AIT.o -L/usr/lib/i386-linux-gnu -Wl,-Bsymbolic-functions -Wl,-z,relro g++ -I/usr/include/octave-5.1.0/octave/.. -I/usr/include/octave-5.1.0/octave -pthread -fopenmp -mieee-fp -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -shared -Wl,-Bsymbolic -Wl,-Bsymbolic-functions -Wl,-z,relro -Wall -Wno-deprecated-declarations -o remez.oct /tmp/oct-TsmDjA.o -L/usr/lib/i386-linux-gnu -Wl,-Bsymbolic-functions -Wl,-z,relro g++ -I/usr/include/octave-5.1.0/octave/.. -I/usr/include/octave-5.1.0/octave -pthread -fopenmp -mieee-fp -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -shared -Wl,-Bsymbolic -Wl,-Bsymbolic-functions -Wl,-z,relro -Wall -Wno-deprecated-declarations -o upfirdn.oct /tmp/oct-dj1Wcv.o -L/usr/lib/i386-linux-gnu -Wl,-Bsymbolic-functions -Wl,-z,relro make[1]: Leaving directory '/<>/src' copyfile /<>/./src/__fwht__.oct /<>/./src/__ultrwin__.oct /<>/./src/cl2bp.oct /<>/./src/medfilt1.oct /<>/./src/remez.oct /<>/./src/sosfilt.oct /<>/./src/upfirdn.oct /<>/./inst/i686-pc-linux-gnu-api-v53 For information about changes from previous versions of the signal package, run 'news signal'. dh_octave_check -a -O--buildsystem=octave Checking package... Checking m files ... [inst/findpeaks.m] >>>>> /<>/inst/findpeaks.m ***** demo t = 2*pi*linspace(0,1,1024)'; y = sin(3.14*t) + 0.5*cos(6.09*t) + 0.1*sin(10.11*t+1/6) + 0.1*sin(15.3*t+1/3); data1 = abs(y); # Positive values [pks idx] = findpeaks(data1); data2 = y; # Double-sided [pks2 idx2] = findpeaks(data2,"DoubleSided"); [pks3 idx3] = findpeaks(data2,"DoubleSided","MinPeakHeight",0.5); subplot(1,2,1) plot(t,data1,t(idx),data1(idx),'xm') axis tight subplot(1,2,2) plot(t,data2,t(idx2),data2(idx2),"xm;>2*std;",t(idx3),data2(idx3),"or;>0.1;") axis tight legend("Location","NorthOutside","Orientation","horizontal") #---------------------------------------------------------------------------- # Finding the peaks of smooth data is not a big deal! ***** demo t = 2*pi*linspace(0,1,1024)'; y = sin(3.14*t) + 0.5*cos(6.09*t) + 0.1*sin(10.11*t+1/6) + 0.1*sin(15.3*t+1/3); data = abs(y + 0.1*randn(length(y),1)); # Positive values + noise [pks idx] = findpeaks(data,"MinPeakHeight",1); dt = t(2)-t(1); [pks2 idx2] = findpeaks(data,"MinPeakHeight",1,... "MinPeakDistance",round(0.5/dt)); subplot(1,2,1) plot(t,data,t(idx),data(idx),'or') subplot(1,2,2) plot(t,data,t(idx2),data(idx2),'or') #---------------------------------------------------------------------------- # Noisy data may need tuning of the parameters. In the 2nd example, # MinPeakDistance is used as a smoother of the peaks. ***** assert (isempty (findpeaks ([1, 1, 1]))) ***** assert (isempty (findpeaks ([1; 1; 1]))) ***** test ## Test input vector is an oversampled sinusoid with clipped peaks x = min (3, cos (2*pi*[0:8000] ./ 600) + 2.01); assert (! isempty (findpeaks (x))) ***** error findpeaks () ***** error findpeaks (1) ***** error findpeaks ([1, 2]) ***** test assert (findpeaks ([34 134 353 64 134 14 56 67 234 143 64 575 8657]), [353 134 234]) 7 tests, 7 passed, 0 known failure, 0 skipped [inst/bitrevorder.m] >>>>> /<>/inst/bitrevorder.m ***** assert (bitrevorder (0), 0); ***** assert (bitrevorder (0:1), 0:1); ***** assert (bitrevorder ([0:1]'), [0:1]'); ***** assert (bitrevorder (0:7), [0 4 2 6 1 5 3 7]); ***** assert (bitrevorder ([0:7]'), [0 4 2 6 1 5 3 7]'); ***** assert (bitrevorder ([0:7]*i), [0 4 2 6 1 5 3 7]*i); ***** assert (bitrevorder ([0:7]'*i), [0 4 2 6 1 5 3 7]'*i); ***** assert (bitrevorder (0:15), [0 8 4 12 2 10 6 14 1 9 5 13 3 11 7 15]); ***** error bitrevorder (); ***** error bitrevorder (1, 2); ***** error bitrevorder ([]); ***** error bitrevorder (0:2); 12 tests, 12 passed, 0 known failure, 0 skipped [inst/impinvar.m] >>>>> /<>/inst/impinvar.m ***** function err = stozerr(bs,as,fs) # number of time steps n=100; # impulse invariant transform to z-domain [bz az]=impinvar(bs,as,fs); # create sys object of transfer function s=tf(bs,as); # calculate impulse response of continuous time system # at discrete time intervals 1/fs ys=impulse(s,(n-1)/fs,1/fs)'; # impulse response of discrete time system yz=filter(bz,az,[1 zeros(1,n-1)]); # find rms error err=sqrt(sum((yz*fs.-ys).^2)/length(ys)); endfunction ***** assert(stozerr([1],[1 1],100),0,0.0001); ***** assert(stozerr([1],[1 2 1],100),0,0.0001); ***** assert(stozerr([1 1],[1 2 1],100),0,0.0002); ***** assert(stozerr([1],[1 3 3 1],100),0,0.0001); ***** assert(stozerr([1 1],[1 3 3 1],100),0,0.0001); ***** assert(stozerr([1 1 1],[1 3 3 1],100),0,0.0001); ***** assert(stozerr([1],[1 0 1],100),0,0.0001); ***** assert(stozerr([1 1],[1 0 1],100),0,0.0001); ***** assert(stozerr([1],[1 0 2 0 1],100),0,0.0001); ***** assert(stozerr([1 1],[1 0 2 0 1],100),0,0.0001); ***** assert(stozerr([1 1 1],[1 0 2 0 1],100),0,0.0001); ***** assert(stozerr([1 1 1 1],[1 0 2 0 1],100),0,0.0001); 12 tests, 12 passed, 0 known failure, 0 skipped [inst/digitrevorder.m] >>>>> /<>/inst/digitrevorder.m ***** assert (digitrevorder (0, 2), 0); ***** assert (digitrevorder (0, 36), 0); ***** assert (digitrevorder (0:3, 4), 0:3); ***** assert (digitrevorder ([0:3]', 4), [0:3]'); ***** assert (digitrevorder (0:7, 2), [0 4 2 6 1 5 3 7]); ***** assert (digitrevorder ([0:7]', 2), [0 4 2 6 1 5 3 7]'); ***** assert (digitrevorder ([0:7]*i, 2), [0 4 2 6 1 5 3 7]*i); ***** assert (digitrevorder ([0:7]'*i, 2), [0 4 2 6 1 5 3 7]'*i); ***** assert (digitrevorder (0:15, 2), [0 8 4 12 2 10 6 14 1 9 5 13 3 11 7 15]); ***** assert (digitrevorder (0:15, 4), [0 4 8 12 1 5 9 13 2 6 10 14 3 7 11 15]); ***** error digitrevorder (); ***** error digitrevorder (1); ***** error digitrevorder (1, 2, 3); ***** error digitrevorder ([], 1); ***** error digitrevorder ([], 37); ***** error digitrevorder (0:3, 8); 16 tests, 16 passed, 0 known failure, 0 skipped [inst/blackmannuttall.m] >>>>> /<>/inst/blackmannuttall.m ***** assert (blackmannuttall (1), 1) ***** assert (blackmannuttall (2), 0.0003628 * ones (2, 1), eps) ***** assert (blackmannuttall (15), flipud (blackmannuttall (15)), 10*eps); ***** assert (blackmannuttall (16), flipud (blackmannuttall (16)), 10*eps); ***** assert (blackmannuttall (15), blackmannuttall (15, "symmetric")); ***** assert (blackmannuttall (16)(1:15), blackmannuttall (15, "periodic")); ***** error blackmannuttall () ***** error blackmannuttall (0.5) ***** error blackmannuttall (-1) ***** error blackmannuttall (ones (1, 4)) ***** error blackmannuttall (1, 2) ***** error blackmannuttall (1, "invalid") 12 tests, 12 passed, 0 known failure, 0 skipped [inst/nuttallwin.m] >>>>> /<>/inst/nuttallwin.m ***** assert (nuttallwin (1), 1) ***** assert (nuttallwin (2), zeros (2, 1), eps) ***** assert (nuttallwin (15), flipud (nuttallwin (15)), 10*eps); ***** assert (nuttallwin (16), flipud (nuttallwin (16)), 10*eps); ***** assert (nuttallwin (15), nuttallwin (15, "symmetric")); ***** assert (nuttallwin (16)(1:15), nuttallwin (15, "periodic")); ***** error nuttallwin () ***** error nuttallwin (0.5) ***** error nuttallwin (-1) ***** error nuttallwin (ones (1, 4)) ***** error nuttallwin (1, 2) ***** error nuttallwin (1, "invalid") 12 tests, 12 passed, 0 known failure, 0 skipped [inst/decimate.m] >>>>> /<>/inst/decimate.m ***** demo t=0:0.01:2; x=chirp(t,2,.5,10,'quadratic')+sin(2*pi*t*0.4); y = decimate(x,4); # factor of 4 decimation stem(t(1:121)*1000,x(1:121),"-g;Original;"); hold on; # plot original stem(t(1:4:121)*1000,y(1:31),"-r;Decimated;"); hold off; # decimated %------------------------------------------------------------------ % The signal to decimate starts away from zero, is slowly varying % at the start and quickly varying at the end, decimate and plot. % Since it starts away from zero, you will see the boundary % effects of the antialiasing filter clearly. You will also see % how it follows the curve nicely in the slowly varying early % part of the signal, but averages the curve in the quickly % varying late part of the signal. ***** error decimate () ***** error decimate (1) ***** error decimate (1, 2, 3, 4, 5) ***** error decimate (1, -1) 4 tests, 4 passed, 0 known failure, 0 skipped [inst/ellip.m] >>>>> /<>/inst/ellip.m ***** demo [n, Ws] = ellipord ([.1 .2], [.01 .4], 1, 90); [b, a] = ellip (5, 1, 90, [.1 .2]); [h, w] = freqz (b, a); plot (w./pi, 20*log10 (abs (h)), ";;") xlabel ("Frequency"); ylabel ("abs(H[w])[dB]"); axis ([0, 1, -100, 0]); hold ("on"); x=ones (1, length (h)); plot (w./pi, x.*-1, ";-1 dB;") plot (w./pi, x.*-90, ";-90 dB;") hold ("off"); ***** error [a, b] = ellip () ***** error [a, b] = ellip (1) ***** error [a, b] = ellip (1, 2) ***** error [a, b] = ellip (1, 2, 3) ***** error [a, b] = ellip (1, 2, 3, 4, 5, 6, 7) ***** error [a, b] = ellip (.5, 2, 40, .2) ***** error [a, b] = ellip (3, 2, 40, .2, "invalid") ***** test ellip (6, 3, 50, .6); assert (isrow (ans)); ***** test A = ellip (6, 3, 50, .6); assert (isrow (A)); ***** test [A, B] = ellip (6, 3, 50, .6); assert (isrow (A)); assert (isrow (B)); ***** test [z, p, g] = ellip (6, 3, 50, .6); assert (iscolumn (z)); assert (iscolumn (p)); assert (isscalar (g)); ***** test [a, b, c, d] = ellip (6, 3, 50, .6); assert (ismatrix (a)); assert (iscolumn (b)); assert (isrow (c)); assert (isscalar (d)); 12 tests, 12 passed, 0 known failure, 0 skipped [inst/chirp.m] >>>>> /<>/inst/chirp.m ***** demo t = 0:0.001:5; y = chirp (t); specgram (y, 256, 1000); %------------------------------------------------------------ % Shows linear sweep of 100 Hz/sec starting at zero for 5 sec % since the sample rate is 1000 Hz, this should be a diagonal % from bottom left to top right. ***** demo t = -2:0.001:15; y = chirp (t, 400, 10, 100, "quadratic"); [S, f, t] = specgram (y, 256, 1000); t = t - 2; imagesc(t, f, 20 * log10 (abs (S))); set (gca (), "ydir", "normal"); xlabel ("Time"); ylabel ("Frequency"); %------------------------------------------------------------ % Shows a quadratic chirp of 400 Hz at t=0 and 100 Hz at t=10 % Time goes from -2 to 15 seconds. ***** demo t = 0:1/8000:5; y = chirp (t, 200, 2, 500, "logarithmic"); specgram (y, 256, 8000); %------------------------------------------------------------- % Shows a logarithmic chirp of 200 Hz at t=0 and 500 Hz at t=2 % Time goes from 0 to 5 seconds at 8000 Hz. ***** shared t t = (0:5000) ./ 1000; ***** test y1 = chirp (t); y2 = chirp (t, 0, 1, 100, "linear", 0); assert (y2, y1) ***** test y1 = chirp (t, [], [], [], "li"); y2 = chirp (t, 0, 1, 100, "linear", 0); assert (y2, y1) ***** test y1 = chirp (t, [], [], [], "q"); y2 = chirp (t, 0, 1, 100, "quadratic", 0); assert (y2, y1) ***** test y1 = chirp (t, [], [], [], "lo"); y2 = chirp (t, 1e-6, 1, 100, "logarithmic", 0); assert (y2, y1) ***** error chirp () ***** error chirp (1, 2, 3, 4, 5, 6, 7) ***** error chirp (0, [], [], [], "l") ***** error chirp (0, [], [], [], "foo") 8 tests, 8 passed, 0 known failure, 0 skipped [inst/xcorr2.m] >>>>> /<>/inst/xcorr2.m ***** test # basic usage a = magic (5); b = [6 13 22; 10 18 23; 8 15 23]; c = [391 807 519 391 473 289 120 920 1318 1045 909 1133 702 278 995 1476 1338 1534 2040 1161 426 828 1045 1501 2047 2108 1101 340 571 1219 2074 2155 1896 821 234 473 1006 1643 1457 946 347 108 242 539 850 477 374 129 54]; assert (xcorr2 (a, b), c); ***** shared a, b, c, row_shift, col_shift row_shift = 18; col_shift = 20; a = randi (255, 30, 30); b = a(row_shift-10:row_shift, col_shift-7:col_shift); c = xcorr2 (a, b, "coeff"); ***** assert (nthargout ([1 2], @find, c == max (c(:))), {row_shift, col_shift}); # should return exact coordinates m = rand (size (b)) > 0.5; b(m) = b(m) * 0.95; b(!m) = b(!m) * 1.05; c = xcorr2 (a, b, "coeff"); ***** assert (nthargout ([1 2], @find, c == max (c(:))), {row_shift, col_shift}); # even with some small noise, should return exact coordinates ***** test # coeff of autocorrelation must be same as negative of correlation by additive inverse a = 10 * randn (100, 100); auto = xcorr2 (a, "coeff"); add_in = xcorr2 (a, -a, "coeff"); assert ([min(auto(:)), max(auto(:))], -[max(add_in(:)), min(add_in(:))]); 4 tests, 4 passed, 0 known failure, 0 skipped [inst/fwhm.m] >>>>> /<>/inst/fwhm.m ***** test x=-pi:0.001:pi; y=cos(x); assert( abs(fwhm(x, y) - 2*pi/3) < 0.01 ); ***** test assert( fwhm(-10:10) == 0 && fwhm(ones(1,50)) == 0 ); ***** test x=-20:1:20; y1=-4+zeros(size(x)); y1(4:10)=8; y2=-2+zeros(size(x)); y2(4:11)=2; y3= 2+zeros(size(x)); y3(5:13)=10; assert( max(abs(fwhm(x, [y1;y2;y3]') - [20.0/3,7.5,9.25])) < 0.01 ); ***** test x=1:3; y=[-1,3,-1]; assert(abs(fwhm(x,y)-0.75)<0.001 && abs(fwhm(x,y,'zero')-0.75)<0.001 && abs(fwhm(x,y,'min')-1.0)<0.001); ***** test x=1:3; y=[-1,3,-1]; assert(abs(fwhm(x,y, 'rlevel', 0.1)-1.35)<0.001 && abs(fwhm(x,y,'zero', 'rlevel', 0.1)-1.35)<0.001 && abs(fwhm(x,y,'min', 'rlevel', 0.1)-1.40)<0.001); ***** test x=1:3; y=[-1,3,-1]; assert(abs(fwhm(x,y, 'alevel', 2.5)-0.25)<0.001 && abs(fwhm(x,y,'alevel', -0.5)-1.75)<0.001); ***** test x=-10:10; assert( fwhm(x.*x) == 0 ); ***** test x=-5:5; y=18-x.*x; assert( abs(fwhm(y)-6.0) < 0.001 && abs(fwhm(x,y,'zero')-6.0) < 0.001 && abs(fwhm(x,y,'min')-7.0 ) < 0.001); 8 tests, 8 passed, 0 known failure, 0 skipped [inst/cceps.m] >>>>> /<>/inst/cceps.m ***** test x = randn (256, 1); c = cceps (x); assert (size (c), size (x)) ***** error cceps () ***** error cceps (1, 2, 3) ***** error cceps (ones (4)) ***** error cceps (0) ***** error cceps (zeros (10, 1)) 6 tests, 6 passed, 0 known failure, 0 skipped [inst/grpdelay.m] >>>>> /<>/inst/grpdelay.m ***** demo % 1 %-------------------------------------------------------------- % From Oppenheim and Schafer, a single zero of radius r=0.9 at % angle pi should have a group delay of about -9 at 1 and 1/2 % at zero and 2*pi. %-------------------------------------------------------------- grpdelay([1 0.9],[],512,'whole',1); hold on; xlabel('Normalized Frequency (cycles/sample)'); stem([0, 0.5, 1],[0.5, -9, 0.5],'*b;target;'); hold off; title ('Zero at z = -0.9'); ***** demo % 2 %-------------------------------------------------------------- % confirm the group delays approximately meet the targets % don't worry that it is not exact, as I have not entered % the exact targets. %-------------------------------------------------------------- b = poly([1/0.9*exp(1i*pi*0.2), 0.9*exp(1i*pi*0.6)]); a = poly([0.9*exp(-1i*pi*0.6), 1/0.9*exp(-1i*pi*0.2)]); grpdelay(b,a,512,'whole',1); hold on; xlabel('Normalized Frequency (cycles/sample)'); stem([0.1, 0.3, 0.7, 0.9], [9, -9, 9, -9],'*b;target;'); hold off; title ('Two Zeros and Two Poles'); ***** demo % 3 %-------------------------------------------------------------- % fir lowpass order 40 with cutoff at w=0.3 and details of % the transition band [.3, .5] %-------------------------------------------------------------- subplot(211); Fs = 8000; % sampling rate Fc = 0.3*Fs/2; % lowpass cut-off frequency nb = 40; b = fir1(nb,2*Fc/Fs); % matlab freq normalization: 1=Fs/2 [H,f] = freqz(b,1,[],1); [gd,f] = grpdelay(b,1,[],1); plot(f,20*log10(abs(H))); title(sprintf('b = fir1(%d,2*%d/%d);',nb,Fc,Fs)); xlabel('Normalized Frequency (cycles/sample)'); ylabel('Amplitude Response (dB)'); grid('on'); subplot(212); del = nb/2; % should equal this plot(f,gd); title(sprintf('Group Delay in Pass-Band (Expect %d samples)',del)); ylabel('Group Delay (samples)'); axis([0, 0.2, del-1, del+1]); ***** demo % 4 %-------------------------------------------------------------- % IIR bandstop filter has delays at [1000, 3000] %-------------------------------------------------------------- Fs = 8000; [b, a] = cheby1(3, 3, 2*[1000, 3000]/Fs, 'stop'); [H,f] = freqz(b,a,[],Fs); [gd,f] = grpdelay(b,a,[],Fs); subplot(211); plot(f,abs(H)); title('[b,a] = cheby1(3, 3, 2*[1000, 3000]/Fs, "stop");'); xlabel('Frequency (Hz)'); ylabel('Amplitude Response'); grid('on'); subplot(212); plot(f,gd); title('[gd,f] = grpdelay(b,a,[],Fs);'); ylabel('Group Delay (samples)'); ***** test % 00 [gd1,w] = grpdelay([0,1]); [gd2,w] = grpdelay([0,1],1); assert(gd1,gd2,10*eps); ***** test % 0A [gd,w] = grpdelay([0,1],1,4); assert(gd,[1;1;1;1]); assert(w,pi/4*[0:3]',10*eps); ***** test % 0B [gd,w] = grpdelay([0,1],1,4,'whole'); assert(gd,[1;1;1;1]); assert(w,pi/2*[0:3]',10*eps); ***** test % 0C [gd,f] = grpdelay([0,1],1,4,0.5); assert(gd,[1;1;1;1]); assert(f,1/16*[0:3]',10*eps); ***** test % 0D [gd,w] = grpdelay([0,1],1,4,'whole',1); assert(gd,[1;1;1;1]); assert(w,1/4*[0:3]',10*eps); ***** test % 0E [gd,f] = grpdelay([1 -0.9j],[],4,'whole',1); gd0 = 0.447513812154696; gdm1 =0.473684210526316; assert(gd,[gd0;-9;gd0;gdm1],20*eps); assert(f,1/4*[0:3]',10*eps); ***** test % 1A: gd= grpdelay(1,[1,.9],2*pi*[0,0.125,0.25,0.375]); assert(gd, [-0.47368;-0.46918;-0.44751;-0.32316],1e-5); ***** test % 1B: gd= grpdelay(1,[1,.9],[0,0.125,0.25,0.375],1); assert(gd, [-0.47368;-0.46918;-0.44751;-0.32316],1e-5); ***** test % 2: gd = grpdelay([1,2],[1,0.5,.9],4); assert(gd,[-0.29167;-0.24218;0.53077;0.40658],1e-5); ***** test % 3 b1=[1,2];a1f=[0.25,0.5,1];a1=fliplr(a1f); % gd1=grpdelay(b1,a1,4); gd=grpdelay(conv(b1,a1f),1,4)-2; assert(gd, [0.095238;0.239175;0.953846;1.759360],1e-5); ***** test % 4 warning ("off", "signal:grpdelay-singularity", "local"); Fs = 8000; [b, a] = cheby1(3, 3, 2*[1000, 3000]/Fs, 'stop'); [h, w] = grpdelay(b, a, 256, 'half', Fs); [h2, w2] = grpdelay(b, a, 512, 'whole', Fs); assert (size(h), size(w)); assert (length(h), 256); assert (size(h2), size(w2)); assert (length(h2), 512); assert (h, h2(1:256)); assert (w, w2(1:256)); ***** test % 5 a = [1 0 0.9]; b = [0.9 0 1]; [dh, wf] = grpdelay(b, a, 512, 'whole'); [da, wa] = grpdelay(1, a, 512, 'whole'); [db, wb] = grpdelay(b, 1, 512, 'whole'); assert(dh,db+da,1e-5); ***** test DR= [1.00000 -0.00000 -3.37219 0.00000 ... 5.45710 -0.00000 -5.24394 0.00000 ... 3.12049 -0.00000 -1.08770 0.00000 0.17404]; N = [-0.0139469 -0.0222376 0.0178631 0.0451737 ... 0.0013962 -0.0259712 0.0016338 0.0165189 ... 0.0115098 0.0095051 0.0043874]; assert (nthargout (1:2, @grpdelay, N, DR, 1024), nthargout (1:2, @grpdelay, N', DR', 1024)); 13 tests, 13 passed, 0 known failure, 0 skipped [inst/boxcar.m] >>>>> /<>/inst/boxcar.m ***** assert (boxcar (1), 1) ***** assert (boxcar (2), ones (2, 1)) ***** assert (boxcar (100), ones (100, 1)) ***** error boxcar () ***** error boxcar (0.5) ***** error boxcar (-1) ***** error boxcar (ones (1, 4)) ***** error boxcar (1, 2) 8 tests, 8 passed, 0 known failure, 0 skipped [inst/shiftdata.m] >>>>> /<>/inst/shiftdata.m ***** test X = [1 2 3; 4 5 6; 7 8 9]; [Y, perm, shifts] = shiftdata (X, 2); assert (Y, [1 4 7; 2 5 8; 3 6 9]); assert (perm, [2 1]); ***** test X = [27 42 11; 63 48 5; 67 74 93]; X(:, :, 2) = [15 23 81; 34 60 28; 70 54 38]; [Y, perm, shifts] = shiftdata(X, 2); T = [27 63 67; 42 48 74; 11 5 93]; T(:, :, 2) = [15 34 70; 23 60 54; 81 28 38]; assert(Y, T); assert(perm, [2 1 3]); ***** test X = fix (rand (4, 4, 4, 4) * 100); [Y, perm, shifts] = shiftdata (X, 3); T = 0; for i = 1:3 for j = 1:3 for k = 1:2 for l = 1:2 T = [T Y(k, i, j, l) - X(i, j, k ,l)]; endfor endfor endfor endfor assert (T, zeros (size (T))); ***** error shiftdata () ***** error shiftdata (1, 2, 3) ***** error shiftdata (1, 2.5) 6 tests, 6 passed, 0 known failure, 0 skipped [inst/rms.m] >>>>> /<>/inst/rms.m ***** assert (rms (0), 0) ***** assert (rms (1), 1) ***** assert (rms ([1 2 -1]), sqrt (2)) ***** assert (rms ([1 2 -1]'), sqrt (2)) ***** assert (rms ([1 2], 3), [1 2]) ***** error rms () ***** error rms (1, 2, 3) ***** error rms (1, 1.5) ***** error rms (1, -1) 9 tests, 9 passed, 0 known failure, 0 skipped [inst/fir2.m] >>>>> /<>/inst/fir2.m ***** xtest f = [0 0.6 0.6 1]; m = [1 1 0 0]; b9 = fir2 (30, f, m, 9); b16 = fir2 (30, f, m, 16); b17 = fir2 (30, f, m, 17); b32 = fir2 (30, f, m, 32); assert ( isequal (b9, b16)) assert ( isequal (b17, b32)) assert (~isequal (b16, b17)) ***** test f = [0, 0.7, 0.7, 1]; m = [0, 0, 1, 1]; b = fir2 (50, f, m); h = abs (freqz (b, 1, [0, 0.7, 1], 2)); assert (h(1) <= 3e-3) assert (h(2) <= 1/sqrt (2)) assert (h(3), 1, 2e-3) ***** test f = [0, 0.25, 0.25, 0.75, 0.75, 1]; m = [0, 0, 1, 1, 0, 0]; b = fir2 (50, f, m); h = abs (freqz (b, 1, [0, 0.25, 0.5, 0.75, 1], 2)); assert (h(1) <= 3e-3) assert (h(2) <= 1/sqrt (2)) assert (h(3), 1, 2e-3) assert (h(4) <= 1/sqrt (2)) assert (h(5) <= 3e-3) ***** test f = [0, 0.45, 0.45, 0.55, 0.55, 1]; m = [1, 1, 0, 0, 1, 1]; b = fir2 (50, f, m); h = abs (freqz (b, 1, [0, 0.45, 0.5, 0.55, 1], 2)); assert (h(1), 1, 2e-3) assert (h(2) <= 1/sqrt (2)) assert (h(3) <= 1e-1) assert (h(4) <= 1/sqrt (2)) assert (h(5), 1, 2e-3) ***** demo f=[0, 0.3, 0.3, 0.6, 0.6, 1]; m=[0, 0, 1, 1/2, 0, 0]; [h, w] = freqz(fir2(100,f,m)); subplot(121); plot(f,m,';target response;',w/pi,abs(h),';filter response;'); subplot(122); plot(f,20*log10(m+1e-5),';target response (dB);',... w/pi,20*log10(abs(h)),';filter response (dB);'); ***** demo f=[0, 0.3, 0.3, 0.6, 0.6, 1]; m=[0, 0, 1, 1/2, 0, 0]; plot(f,20*log10(m+1e-5),';target response;'); hold on; [h, w] = freqz(fir2(50,f,m,512,0)); plot(w/pi,20*log10(abs(h)),';filter response (ramp=0);'); [h, w] = freqz(fir2(50,f,m,512,25.6)); plot(w/pi,20*log10(abs(h)),';filter response (ramp=pi/20 rad);'); [h, w] = freqz(fir2(50,f,m,512,51.2)); plot(w/pi,20*log10(abs(h)),';filter response (ramp=pi/10 rad);'); hold off; ***** demo % Classical Jakes spectrum % X represents the normalized frequency from 0 % to the maximum Doppler frequency asymptote = 2/3; X = linspace(0,asymptote-0.0001,200); Y = (1 - (X./asymptote).^2).^(-1/4); % The target frequency response is 0 after the asymptote X = [X, asymptote, 1]; Y = [Y, 0, 0]; plot(X,Y,'b;Target spectrum;'); hold on; [H,F]=freqz(fir2(20, X, Y)); plot(F/pi,abs(H),'c;Synthesized spectrum (n=20);'); [H,F]=freqz(fir2(50, X, Y)); plot(F/pi,abs(H),'r;Synthesized spectrum (n=50);'); [H,F]=freqz(fir2(200, X, Y)); plot(F/pi,abs(H),'g;Synthesized spectrum (n=200);'); hold off; title('Theoretical/Synthesized CLASS spectrum'); xlabel('Normalized frequency (Fs=2)'); ylabel('Magnitude'); 4 tests, 4 passed, 0 known failure, 0 skipped [inst/rectwin.m] >>>>> /<>/inst/rectwin.m ***** assert (rectwin (1), 1) ***** assert (rectwin (2), ones (2, 1)) ***** assert (rectwin (100), ones (100, 1)) ***** error rectwin () ***** error rectwin (0.5) ***** error rectwin (-1) ***** error rectwin (ones (1, 4)) ***** error rectwin (1, 2) 8 tests, 8 passed, 0 known failure, 0 skipped [inst/impz.m] >>>>> /<>/inst/impz.m ***** assert (size (impz (1, [1 -1 0.9], 100)), [100 1]) ***** xtest [h, t] = impz (1, [1 -1 0.9], 0:101); assert (size (h), [101 1]) assert (t, 0:101) !!!!! known failure impz: N must be empty or a scalar 2 tests, 1 passed, 1 known failure, 0 skipped [inst/pow2db.m] >>>>> /<>/inst/pow2db.m ***** shared pow pow = [0, 10, 20, 60, 100]; ***** assert (pow2db (pow), [-Inf, 10.000, 13.010, 17.782, 20.000], 0.01) ***** assert (pow2db (pow'), [-Inf; 10.000; 13.010; 17.782; 20.000], 0.01) ***** error pow2db () ***** error pow2db (1, 2) ***** error pow2db (-5) ***** error pow2db ([-5 7]) 6 tests, 6 passed, 0 known failure, 0 skipped [inst/cconv.m] >>>>> /<>/inst/cconv.m ***** shared x x = [1, 2, 3, 4, 5]; ***** assert (cconv (x, 1), [1, 2, 3, 4, 5], 2*eps) ***** assert (cconv (x', 1), [1; 2; 3; 4; 5], 2*eps) ***** assert (real (cconv (x, [1 1])), [1, 3, 5, 7, 9, 5], 2*eps) ***** assert (cconv (x, [1 1], 3), [8, 12, 10]) ***** assert (cconv ([2 1 2 1], [1 2 3 4]), [2 5 10 16 12 11 4], 1e-14) ***** assert (cconv ([2 1 2 1], [1 2 3 4], 4), [14 16 14 16]) ***** assert (cconv ([2 1 2 1], [1 2 3 4], 3), [22 17 21]) ***** assert (cconv ([2 1 2 1], [1 2 3 4], 2), [28 32]) ***** assert (cconv ([2 1 2 1], [1 2 3 4], 1), 60) ***** assert (cconv (x*j, 1), [1j, 2j, 3j, 4j, 5j]) ***** assert (cconv (x'*j, 1), [1j; 2j; 3j; 4j; 5j]) ***** error cconv () ***** error cconv (1) ***** error cconv (1, 1, [1 1]) ***** error cconv (ones (2, 2), 1) ***** error cconv (1, ones (2, 2)) ***** error cconv (1, 1, 3.5) 17 tests, 17 passed, 0 known failure, 0 skipped [inst/fht.m] >>>>> /<>/inst/fht.m ***** assert( fht([1 2 3 4]),[10 -4 -2 0] ) 1 test, 1 passed, 0 known failure, 0 skipped [inst/rceps.m] >>>>> /<>/inst/rceps.m ***** test ## accepts matrices x = randn (32, 3); [y, xm] = rceps (x); ## check the mag-phase response of the reproduction hx = fft (x); hxm = fft (xm); assert (abs (hx), abs (hxm), 200*eps); # good magnitude response match ## FIXME: test for minimum phase? Stop using random datasets! #assert (arg (hx) != arg (hxm)); # phase mismatch ***** test ## accepts column and row vectors x = randn (256, 1); [y, xm] = rceps (x); [yt, xmt] = rceps (x.'); assert (yt.', y, 1e-14); assert (xmt.', xm, 1e-14); ***** test x = randn (33, 4); [y, xm] = rceps (x); assert (size (y), size (x)); assert (size (xm), size (x)); ***** error rceps ***** error rceps (1, 2) ***** error rceps (0) ***** error rceps (zeros (10, 1)) ***** demo f0 = 70; Fs = 10000; # 100 Hz fundamental, 10 kHz sampling rate a = real (poly (0.985 * exp (1i * pi * [0.1, -0.1, 0.3, -0.3]))); # two formants s = 0.05 * randn (1024, 1); # Noise excitation signal s(floor (1:Fs/f0:length (s))) = 1; # Impulse glottal wave x = filter (1, a, s); # Speech signal in x [y, xm] = rceps (x); # cepstrum and minimum phase x [hx, w] = freqz (x, 1, [], Fs); hxm = freqz (xm); figure (1); subplot (311); len = 1000 * fix (min (length (x), length (xm)) / 1000); plot ([0:len-1] * 1000 / Fs, x(1:len), "b;signal;", ... [0:len-1] * 1000 / Fs, xm(1:len), "g;reconstruction;"); ylabel ("Amplitude"); xlabel ("Time (ms)"); subplot (312); axis ("ticy"); plot (w, log (abs (hx)), ";magnitude;", ... w, log (abs (hxm)), ";reconstruction;"); xlabel ("Frequency (Hz)"); subplot (313); axis ("on"); plot (w, unwrap (arg (hx)) / (2 * pi), ";phase;", ... w, unwrap (arg (hxm)) / (2 * pi), ";reconstruction;"); xlabel ("Frequency (Hz)"); len = 1000 * fix (length (y) / 1000); figure (2); plot ([0:len-1] * 1000 / Fs, y(1:len), ";cepstrum;"); ylabel ("Amplitude"); xlabel ("Quefrency (ms)"); %------------------------------------------------------------- % confirm the magnitude spectrum is identical in the signal % and the reconstruction and that there are peaks in the % cepstrum at 14 ms intervals corresponding to an F0 of 70 Hz. 7 tests, 7 passed, 0 known failure, 0 skipped [inst/udecode.m] >>>>> /<>/inst/udecode.m ***** test u = [0 0 0 0 0 1 2 3 3 3 3 3 3]; y = udecode(u, 2); assert(y, [-1 -1 -1 -1 -1 -0.5 0 0.5 0.5 0.5 0.5 0.5 0.5]); ***** test u = [0 1 2 3 4 5 6 7 8 9 10]; y = udecode(u, 2, 1, "saturate"); assert(y, [-1 -0.5 0 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5]); ***** test u = [0 1 2 3 4 5 6 7 8 9 10]; y = udecode(u, 2, 1, "wrap"); assert(y, [-1 -0.5 0 0.5 -1 -0.5 0 0.5 -1 -0.5 0]); ***** test u = [-4 -3 -2 -1 0 1 2 3]; y = udecode(u, 3, 2); assert(y, [-2, -1.5 -1 -0.5 0 0.5 1 1.5]); ***** test u = [-7 -6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6 7]; y = udecode(u, 3, 2, "saturate"); assert(y, [-2 -2 -2 -2 -1.5 -1 -0.5 0 0.5 1 1.5 1.5 1.5 1.5 1.5]); ***** test u = [-7 -6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6 7]; y = udecode(u, 3, 2, "wrap"); assert(y, [0.5 1 1.5 -2 -1.5 -1 -0.5 0 0.5 1 1.5 -2 -1.5 -1 -0.5]); ***** error udecode () ***** error udecode (1) ***** error udecode (1, 2, 3, 4, 5) ***** error udecode (1.5) ***** error udecode (1, 100) ***** error udecode (1, 4, 0) ***** error udecode (1, 4, -1) ***** error udecode (1, 4, 2, "invalid") 14 tests, 14 passed, 0 known failure, 0 skipped [inst/filtic.m] >>>>> /<>/inst/filtic.m ***** test ## Simple low pass filter b=[0.25 0.25]; a=[1.0 -0.5]; zf_ref=0.75; zf=filtic(b,a,[1.0],[1.0]); assert(zf,zf_ref,8*eps); ***** test ## Simple high pass filter b=[0.25 -0.25]; a=[1.0 0.5]; zf_ref = [-0.25]; zf=filtic(b,a,[0.0],[1.0]); assert(zf,zf_ref,8*eps); ***** test ## Second order cases [b,a]=butter(2,0.4); N=1000; ## Long enough for filter to settle xx=ones(1,N); [yy,zf_ref] = filter(b,a,xx); x=xx(N:-1:N-1); y=yy(N:-1:N-1); zf = filtic(b,a,y,x); assert(zf,zf_ref,8*eps); xx = cos(2*pi*linspace(0,N-1,N)/8); [yy,zf_ref] = filter(b,a,xx); x=xx(N:-1:N-1); y=yy(N:-1:N-1); zf = filtic(b,a,y,x); assert(zf,zf_ref,8*eps); ***** test ## Third order filter - takes longer to settle N=10000; [b,a]=cheby1(3,10,0.5); xx=ones(1,N); [yy,zf_ref] = filter(b,a,xx); x=xx(N:-1:N-2); y=yy(N:-1:N-2); zf = filtic(b,a,y,x); assert(zf,zf_ref,8*eps); ***** test ## Eight order high pass filter N=10000; [b,a]=butter(8,0.2); xx = cos(2*pi*linspace(0,N-1,N)/8); [yy,zf_ref] = filter(b,a,xx); x=xx(N:-1:N-7); y=yy(N:-1:N-7); zf = filtic(b,a,y,x); assert(zf,zf_ref,8*eps); ***** test ## Case with 3 args [b,a]=butter(2,0.4); N=100; xx=[ones(1,N) zeros(1,2)]; [yy,zf_ref] = filter(b,a,xx); y=[yy(N+2) yy(N+1)]; zf=filtic(b,a,y); assert(zf,zf_ref,8*eps); ***** test a = [2, -3, 1]; b = [4, -3]; y = [0; 1]; z = filtic (b, a, y); assert (z, [-0.5; 0]); 7 tests, 7 passed, 0 known failure, 0 skipped [inst/fwht.m] >>>>> /<>/inst/fwht.m ***** assert (isempty (fwht ([]))); ***** assert (fwht (zeros (16)), zeros (16)); ***** assert (fwht (ones (16, 1)), [1; (zeros (15, 1))]); ***** assert (fwht (zeros (17, 1)), zeros (32, 1)); ***** assert (fwht ([1 -1 1 -1 1 -1 1 -1]), [0 0 0 0 0 0 0 1]); ***** test x = randi (16, 16); assert (ifwht (fwht (x)), x); ***** test x = randi (16, 16); assert (ifwht (fwht (x, [], "sequency"), [], "sequency"), x); ***** test x = randi (16, 16); assert (ifwht (fwht (x, [], "hadamard"), [], "hadamard"), x); ***** test x = randi (16, 16); assert (ifwht (fwht (x, [], "dyadic"), [], "dyadic"), x); ***** error fwht (); ***** error fwht (1, 2, 3, 4); ***** error fwht (0, 0); ***** error fwht (0, 5); ***** error fwht (0, [], "invalid"); 14 tests, 14 passed, 0 known failure, 0 skipped [inst/buffer.m] >>>>> /<>/inst/buffer.m ***** error (buffer(1:10, 4.1)) ***** assert (buffer(1:10, 4), reshape([1:10,0,0],[4,3])) ***** assert (buffer(1:10, 4, 1), reshape([0:3,3:6,6:9,9,10,0,0],[4,4])) ***** assert (buffer(1:10, 4, 2), reshape ([0,0:2,1:4,3:6,5:8,7:10],[4,5])) ***** assert (buffer(1:10, 4, 3), [0,0,0:7;0,0:8;0:9;1:10]) ***** error (buffer(1:10, 4, 3.1)) ***** error (buffer(1:10, 4, 4)) ***** assert (buffer(1:10, 4, -1), reshape([1:4,6:9],[4,2])) ***** assert (buffer(1:10, 4, -2), reshape([1:4,7:10],[4,2])) ***** assert (buffer(1:10, 4, -3), reshape([1:4,8:10,0],[4,2])) ***** assert (buffer(1:10, 4, 1, 11), reshape([11,1:3,3:6,6:9,9,10,0,0],[4,4])) ***** error (buffer(1:10, 4, 1, [10,11])) ***** assert (buffer(1:10, 4, 1, 'nodelay'), reshape([1:4,4:7,7:10],[4,3])) ***** error (buffer(1:10, 4, 1, 'badstring')) ***** assert (buffer(1:10, 4, 2,'nodelay'), reshape ([1:4,3:6,5:8,7:10],[4,4])) ***** assert (buffer(1:10, 4, 3, [11,12,13]),[11,12,13,1:7;12,13,1:8;13,1:9;1:10]) ***** assert (buffer(1:10, 4, 3, 'nodelay'),[1:8;2:9;3:10;4:10,0]) ***** assert (buffer(1:11,4,-2,1),reshape([2:5,8:11],4,2)) ***** test [y, z] = buffer(1:12,4); assert (y, reshape(1:12,4,3)); assert (z, zeros (1,0)); ***** test [y, z] = buffer(1:11,4); assert (y, reshape(1:8,4,2)); assert (z, [9, 10, 11]); ***** test [y, z] = buffer([1:12]',4); assert (y, reshape(1:12,4,3)); assert (z, zeros (0,1)); ***** test [y, z] = buffer([1:11]',4); assert (y, reshape(1:8,4,2)); assert (z, [9; 10; 11]); ***** test [y,z,opt] = buffer(1:15,4,-2,1); assert (y, reshape([2:5,8:11],4,2)); assert (z, [14, 15]); assert (opt, 0); ***** test [y,z,opt] = buffer(1:11,4,-2,1); assert (y, reshape([2:5,8:11],4,2)); assert (z, zeros (1,0)); assert (opt, 2); ***** test [y,z,opt] = buffer([1:15]',4,-2,1); assert (y, reshape([2:5,8:11],4,2)); assert (z, [14; 15]); assert (opt, 0); ***** test [y,z,opt] = buffer([1:11]',4,-2,1); assert (y, reshape([2:5,8:11],4,2)); assert (z, zeros (0, 1)); assert (opt, 2); ***** test [y,z,opt] = buffer([1:11],5,2,[-1,0]); assert (y, reshape ([-1:3,2:6,5:9],[5,3])); assert (z, [10, 11]); assert (opt, [8; 9]); ***** test [y,z,opt] = buffer([1:11]',5,2,[-1,0]); assert (y, reshape ([-1:3,2:6,5:9],[5,3])); assert (z, [10; 11]); assert (opt, [8; 9]); ***** test [y, z, opt] = buffer (1:10, 6, 4); assert (y, [0 0 1:2:5; 0 0 2:2:6; 0 1:2:7; 0 2:2:8; 1:2:9; 2:2:10]) assert (z, zeros (1, 0)) assert (opt, [7; 8; 9; 10]) 29 tests, 29 passed, 0 known failure, 0 skipped [inst/db2pow.m] >>>>> /<>/inst/db2pow.m ***** shared db db = [-10, 0, 10, 20, 25]; ***** assert (db2pow (db), [0.10000, 1.00000, 10.00000, 100.00000, 316.22777], 0.00001) ***** assert (db2pow (db'), [0.10000; 1.00000; 10.00000; 100.00000; 316.22777], 0.00001) ***** error db2pow () ***** error db2pow (1, 2) 4 tests, 4 passed, 0 known failure, 0 skipped [inst/buttord.m] >>>>> /<>/inst/buttord.m ***** demo fs = 44100; Npts = fs / 2; fpass = 4000; fstop = 10987; Rpass = 1; Rstop = 26; Wpass = 2 / fs * fpass; Wstop = 2 / fs * fstop; [n, Wn_p, Wn_s] = buttord (Wpass, Wstop, Rpass, Rstop) [b, a] = butter (n, Wn_p); f = 8000:12000; W = 2 * pi * f; [H, f] = freqz (b, a, Npts, fs); plot (f, 20 * log10 (abs (H))); title ("Digital Butterworth low-pass : matching pass band"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_lp_pass_x = [f(2) , fpass(1), fpass(1)]; outline_lp_pass_y = [-Rpass, -Rpass , -80]; outline_lp_stop_x = [f(2) , fstop(1), fstop(1), max(f)]; outline_lp_stop_y = [0 , 0 , -Rstop , -Rstop]; hold on; plot (outline_lp_pass_x, outline_lp_pass_y, "m"); plot (outline_lp_stop_x, outline_lp_stop_y, "m"); ylim ([-80, 0]); ***** demo fs = 44100; Npts = fs / 2; fpass = 4000; fstop = 10987; Rpass = 1; Rstop = 26; Wpass = 2 / fs * fpass; Wstop = 2 / fs * fstop; [n, Wn_p, Wn_s] = buttord (Wpass, Wstop, Rpass, Rstop) [b, a] = butter (n, Wn_s); f = 8000:12000; W = 2 * pi * f; [H, f] = freqz (b, a, Npts, fs); plot (f, 20 * log10 (abs (H))); title ("Digital Butterworth low-pass : matching stop band"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_lp_pass_x = [f(2) , fpass(1), fpass(1)]; outline_lp_pass_y = [-Rpass, -Rpass , -80]; outline_lp_stop_x = [f(2) , fstop(1), fstop(1), max(f)]; outline_lp_stop_y = [0 , 0 , -Rstop , -Rstop]; hold on; plot (outline_lp_pass_x, outline_lp_pass_y, "m"); plot (outline_lp_stop_x, outline_lp_stop_y, "m"); ylim ([-80, 0]); ***** demo fs = 44100; Npts = fs / 2; fstop = 4000; fpass = 10987; Rpass = 1; Rstop = 26; Wpass = 2 / fs * fpass; Wstop = 2 / fs * fstop; [n, Wn_p, Wn_s] = buttord (Wpass, Wstop, Rpass, Rstop) [b, a] = butter (n, Wn_p, "high"); f = 8000:12000; W = 2 * pi * f; [H, f] = freqz (b, a, Npts, fs); plot (f, 20 * log10 (abs (H))); title ("Digital Butterworth high-pass : matching pass band"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_hp_pass_x = [fpass(1), fpass(1), max(f)]; outline_hp_pass_y = [-80 , -Rpass , -Rpass]; outline_hp_stop_x = [min(f) , fstop(1), fstop(1), max(f)]; outline_hp_stop_y = [-Rstop , -Rstop , 0 , 0 ]; hold on; plot (outline_hp_pass_x, outline_hp_pass_y, "m"); plot (outline_hp_stop_x, outline_hp_stop_y, "m"); ylim ([-80, 0]); ***** demo fs = 44100; Npts = fs / 2; fstop = 4000; fpass = 10987; Rpass = 1; Rstop = 26; Wpass = 2 / fs * fpass; Wstop = 2 / fs * fstop; [n, Wn_p, Wn_s] = buttord (Wpass, Wstop, Rpass, Rstop) [b, a] = butter (n, Wn_s, "high"); f = 8000:12000; W = 2 * pi * f; [H, f] = freqz (b, a, Npts, fs); plot (f, 20 * log10 (abs (H))) title ("Digital Butterworth high-pass : matching stop band"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_hp_pass_x = [fpass(1), fpass(1), max(f)]; outline_hp_pass_y = [-80 , -Rpass , -Rpass]; outline_hp_stop_x = [min(f) , fstop(1), fstop(1), max(f)]; outline_hp_stop_y = [-Rstop , -Rstop , 0 , 0 ]; hold on; plot (outline_hp_pass_x, outline_hp_pass_y, "m"); plot (outline_hp_stop_x, outline_hp_stop_y, "m"); ylim ([-80, 0]); ***** demo fs = 44100; fpass = [9500 9750]; fstop = [8500 10051]; Rpass = 1; Rstop = 26; Wpass = 2 / fs * fpass; Wstop = 2 / fs * fstop; [n, Wn_p, Wn_s] = buttord (Wpass, Wstop, Rpass, Rstop) [b, a] = butter (n, Wn_p); f = (8000:12000)'; W = f * (2 * pi / fs); H = freqz (b, a, W); plot (f, 20 * log10 (abs (H))); title ("Digital Butterworth band-pass : matching pass band, limit on upper freq"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_bp_pass_x = [fpass(1), fpass(1), fpass(2), fpass(2)]; outline_bp_pass_y = [-80 , -Rpass , -Rpass , -80]; outline_bp_stop_x = [min(f) , fstop(1), fstop(1), fstop(2), ... fstop(2), max(f)]; outline_bp_stop_y = [-Rstop , -Rstop , 0 , 0 , ... -Rstop , -Rstop]; hold on; plot (outline_bp_pass_x, outline_bp_pass_y, "m"); plot (outline_bp_stop_x, outline_bp_stop_y, "m"); ylim ([-80, 0]); ***** demo fs = 44100; fpass = [9500 9750]; fstop = [8500 10051]; Rpass = 1; Rstop = 26; Wpass = 2 / fs * fpass; Wstop = 2 / fs * fstop; [n, Wn_p, Wn_s] = buttord (Wpass, Wstop, Rpass, Rstop) [b, a] = butter (n, Wn_s); f = (8000:12000)'; W = f * (2 * pi / fs); H = freqz (b, a, W); plot (f, 20 * log10 (abs (H))); title ("Digital Butterworth band-pass : matching stop band, limit on upper freq"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_bp_pass_x = [fpass(1), fpass(1), fpass(2), fpass(2)]; outline_bp_pass_y = [-80 , -Rpass , -Rpass , -80]; outline_bp_stop_x = [min(f) , fstop(1), fstop(1), fstop(2), ... fstop(2), max(f)]; outline_bp_stop_y = [-Rstop , -Rstop , 0 , 0 , ... -Rstop , -Rstop]; hold on; plot (outline_bp_pass_x, outline_bp_pass_y, "m"); plot (outline_bp_stop_x, outline_bp_stop_y, "m"); ylim ([-80, 0]); ***** demo fs = 44100; fpass = [9500 9750]; fstop = [9204 10700]; Rpass = 1; Rstop = 26; Wpass = 2 / fs * fpass; Wstop = 2 / fs * fstop; [n, Wn_p, Wn_s] = buttord (Wpass, Wstop, Rpass, Rstop) [b, a] = butter (n, Wn_p); f = (8000:12000)'; W = f * (2 * pi / fs); H = freqz (b, a, W); plot (f, 20 * log10 (abs (H))); title ("Digital Butterworth band-pass : matching pass band, limit on lower freq"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_bp_pass_x = [fpass(1), fpass(1), fpass(2), fpass(2)]; outline_bp_pass_y = [-80 , -Rpass , -Rpass , -80]; outline_bp_stop_x = [min(f) , fstop(1), fstop(1), fstop(2), ... fstop(2), max(f)]; outline_bp_stop_y = [-Rstop , -Rstop , 0 , 0 , ... -Rstop , -Rstop]; hold on; plot (outline_bp_pass_x, outline_bp_pass_y, "m"); plot (outline_bp_stop_x, outline_bp_stop_y, "m"); ylim ([-80, 0]); ***** demo fs = 44100; fpass = [9500 9750]; fstop = [9204 10700]; Rpass = 1; Rstop = 26; Wpass = 2 / fs * fpass; Wstop = 2 / fs * fstop; [n, Wn_p, Wn_s] = buttord (Wpass, Wstop, Rpass, Rstop) [b, a] = butter (n, Wn_s); f = (8000:12000)'; W = f * (2 * pi / fs); H = freqz (b, a, W); plot (f, 20 * log10 (abs (H))); title ("Digital Butterworth band-pass : matching stop band, limit on lower freq"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_bp_pass_x = [fpass(1), fpass(1), fpass(2), fpass(2)]; outline_bp_pass_y = [-80 , -Rpass , -Rpass , -80]; outline_bp_stop_x = [min(f) , fstop(1), fstop(1), fstop(2), ... fstop(2), max(f)]; outline_bp_stop_y = [-Rstop , -Rstop , 0 , 0 , ... -Rstop , -Rstop]; hold on; plot (outline_bp_pass_x, outline_bp_pass_y, "m"); plot (outline_bp_stop_x, outline_bp_stop_y, "m"); ylim ([-80, 0]); ***** demo fs = 44100; fstop = [9875, 10126.5823]; fpass = [8500 10833]; Rpass = 0.5; Rstop = 40; Wpass = 2 / fs * fpass; Wstop = 2 / fs * fstop; [n, Wn_p, Wn_s] = buttord (Wpass, Wstop, Rpass, Rstop) [b, a] = butter (n, Wn_p, "stop"); f = (8000:12000)'; W = f * (2 * pi / fs); H = freqz (b, a, W); plot (f, 20 * log10 (abs (H))); title ("Digital Butterworth notch : matching pass band, limit on upper freq"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_notch_pass_x_a = [min(f) , fpass(1), fpass(1)]; outline_notch_pass_x_b = [fpass(2), fpass(2), max(f)]; outline_notch_pass_y_a = [-Rpass , -Rpass , -80]; outline_notch_pass_y_b = [-80 , -Rpass , -Rpass]; outline_notch_stop_x = [min(f) , fstop(1), fstop(1), fstop(2), ... fstop(2), max(f)]; outline_notch_stop_y = [0 , 0 , -Rstop , -Rstop , ... 0 , 0 ]; hold on; plot (outline_notch_pass_x_a, outline_notch_pass_y_a, "m"); plot (outline_notch_pass_x_b, outline_notch_pass_y_b, "m"); plot (outline_notch_stop_x, outline_notch_stop_y, "m"); ylim ([-80, 0]); ***** demo fs = 44100; fstop = [9875, 10126.5823]; fpass = [8500 10833]; Rpass = 0.5; Rstop = 40; Wpass = 2 / fs * fpass; Wstop = 2 / fs * fstop; [n, Wn_p, Wn_s] = buttord (Wpass, Wstop, Rpass, Rstop) [b, a] = butter (n, Wn_s, "stop"); f = (8000:12000)'; W = f * (2 * pi / fs); H = freqz (b, a, W); plot (f, 20 * log10 (abs (H))); title ("Digital Butterworth notch : matching stop band, limit on upper freq"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_notch_pass_x_a = [min(f) , fpass(1), fpass(1)]; outline_notch_pass_x_b = [fpass(2), fpass(2), max(f)]; outline_notch_pass_y_a = [-Rpass , -Rpass , -80]; outline_notch_pass_y_b = [-80 , -Rpass , -Rpass]; outline_notch_stop_x = [min(f) , fstop(1), fstop(1), fstop(2), ... fstop(2), max(f)]; outline_notch_stop_y = [0 , 0 , -Rstop , -Rstop , ... 0 , 0 ]; hold on; plot (outline_notch_pass_x_a, outline_notch_pass_y_a, "m"); plot (outline_notch_pass_x_b, outline_notch_pass_y_b, "m"); plot (outline_notch_stop_x, outline_notch_stop_y, "m"); ylim ([-80, 0]); ***** demo fs = 44100; fstop = [9875, 10126.5823]; fpass = [9183 11000]; Rpass = 0.5; Rstop = 40; Wpass = 2 / fs * fpass; Wstop = 2 / fs * fstop; [n, Wn_p, Wn_s] = buttord (Wpass, Wstop, Rpass, Rstop) [b, a] = butter (n, Wn_p, "stop"); f = (8000:12000)'; W = f * (2 * pi / fs); H = freqz (b, a, W); plot (f, 20 * log10 (abs (H))); title ("Digital Butterworth notch : matching pass band, limit on lower freq"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_notch_pass_x_a = [min(f) , fpass(1), fpass(1)]; outline_notch_pass_x_b = [fpass(2), fpass(2), max(f)]; outline_notch_pass_y_a = [-Rpass , -Rpass , -80]; outline_notch_pass_y_b = [-80 , -Rpass , -Rpass]; outline_notch_stop_x = [min(f) , fstop(1), fstop(1), fstop(2), ... fstop(2), max(f)]; outline_notch_stop_y = [0 , 0 , -Rstop , -Rstop , ... 0 , 0 ]; hold on; plot (outline_notch_pass_x_a, outline_notch_pass_y_a, "m"); plot (outline_notch_pass_x_b, outline_notch_pass_y_b, "m"); plot (outline_notch_stop_x, outline_notch_stop_y, "m"); ylim ([-80, 0]); ***** demo fs = 44100; fstop = [9875, 10126.5823]; fpass = [9183 11000]; Rpass = 0.5; Rstop = 40; Wpass = 2 / fs * fpass; Wstop = 2 / fs * fstop; [n, Wn_p, Wn_s] = buttord (Wpass, Wstop, Rpass, Rstop) [b, a] = butter (n, Wn_s, "stop"); f = (8000:12000)'; W = f * (2 * pi / fs); H = freqz (b, a, W); plot (f, 20 * log10 (abs (H))); title ("Digital Butterworth notch : matching stop band, limit on lower freq"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_notch_pass_x_a = [min(f) , fpass(1), fpass(1)]; outline_notch_pass_x_b = [fpass(2), fpass(2), max(f)]; outline_notch_pass_y_a = [-Rpass , -Rpass , -80]; outline_notch_pass_y_b = [-80 , -Rpass , -Rpass]; outline_notch_stop_x = [min(f) , fstop(1), fstop(1), fstop(2), ... fstop(2), max(f)]; outline_notch_stop_y = [0 , 0 , -Rstop , -Rstop , ... 0 , 0 ]; hold on; plot (outline_notch_pass_x_a, outline_notch_pass_y_a, "m"); plot (outline_notch_pass_x_b, outline_notch_pass_y_b, "m"); plot (outline_notch_stop_x, outline_notch_stop_y, "m"); ylim ([-80, 0]); ***** demo fpass = 4000; fstop = 13583; Rpass = 1; Rstop = 26; Wpass = 2 * pi * fpass; Wstop = 2 * pi * fstop; [n, Wn_p, Wn_s] = buttord (Wpass, Wstop, Rpass, Rstop, "s") [b, a] = butter (n, Wn_p, "s"); f = 1000:10:100000; W = 2 * pi * f; H = freqs (b, a, W); semilogx (f, 20 * log10 (abs (H))) title ("Analog Butterworth low-pass : matching pass band"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_lp_pass_x = [f(2) , fpass(1), fpass(1)]; outline_lp_pass_y = [-Rpass, -Rpass , -80]; outline_lp_stop_x = [f(2) , fstop(1), fstop(1), max(f)]; outline_lp_stop_y = [0 , 0 , -Rstop , -Rstop]; hold on; plot (outline_lp_pass_x, outline_lp_pass_y, "m"); plot (outline_lp_stop_x, outline_lp_stop_y, "m"); ylim ([-80, 0]); ***** demo fpass = 4000; fstop = 13583; Rpass = 1; Rstop = 26; Wpass = 2 * pi * fpass; Wstop = 2 * pi * fstop; [n, Wn_p, Wn_s] = buttord (Wpass, Wstop, Rpass, Rstop, "s") [b, a] = butter (n, Wn_s, "s"); f = 1000:10:100000; W = 2 * pi * f; H = freqs (b, a, W); semilogx (f, 20 * log10 (abs (H))); title ("Analog Butterworth low-pass : matching stop band"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_lp_pass_x = [f(2) , fpass(1), fpass(1)]; outline_lp_pass_y = [-Rpass, -Rpass , -80]; outline_lp_stop_x = [f(2) , fstop(1), fstop(1), max(f)]; outline_lp_stop_y = [0 , 0 , -Rstop , -Rstop]; hold on; plot (outline_lp_pass_x, outline_lp_pass_y, "m"); plot (outline_lp_stop_x, outline_lp_stop_y, "m"); ylim ([-80, 0]); ***** demo fstop = 4000; fpass = 13583; Rpass = 1; Rstop = 26; Wpass = 2 * pi * fpass; Wstop = 2 * pi * fstop; [n, Wn_p, Wn_s] = buttord (Wpass, Wstop, Rpass, Rstop, "s") [b, a] = butter (n, Wn_p, "high", "s"); f = 1000:10:100000; W = 2 * pi * f; H = freqs (b, a, W); semilogx (f, 20 * log10 (abs (H))); title ("Analog Butterworth high-pass : matching pass band"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_hp_pass_x = [fpass(1), fpass(1), max(f)]; outline_hp_pass_y = [-80 , -Rpass , -Rpass]; outline_hp_stop_x = [f(2) , fstop(1), fstop(1), max(f)]; outline_hp_stop_y = [-Rstop , -Rstop , 0 , 0 ]; hold on; plot (outline_hp_pass_x, outline_hp_pass_y, "m"); plot (outline_hp_stop_x, outline_hp_stop_y, "m"); ylim ([-80, 0]); ***** demo fstop = 4000; fpass = 13583; Rpass = 1; Rstop = 26; Wpass = 2 * pi * fpass; Wstop = 2 * pi * fstop; [n, Wn_p, Wn_s] = buttord (Wpass, Wstop, Rpass, Rstop, "s") [b, a] = butter (n, Wn_s, "high", "s"); f = 1000:10:100000; W = 2 * pi * f; H = freqs (b, a, W); semilogx (f, 20 * log10 (abs (H))); title ("Analog Butterworth high-pass : matching stop band"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_hp_pass_x = [fpass(1), fpass(1), max(f)]; outline_hp_pass_y = [-80 , -Rpass , -Rpass]; outline_hp_stop_x = [f(2) , fstop(1), fstop(1), max(f)]; outline_hp_stop_y = [-Rstop , -Rstop , 0 , 0 ]; hold on; plot (outline_hp_pass_x, outline_hp_pass_y, "m"); plot (outline_hp_stop_x, outline_hp_stop_y, "m"); ylim ([-80, 0]); ***** demo fpass = [9875, 10126.5823]; fstop = [9000, 10436]; Rpass = 1; Rstop = 26; Wpass = 2 * pi * fpass; Wstop = 2 * pi * fstop; [n, Wn_p, Wn_s] = buttord (Wpass, Wstop, Rpass, Rstop, "s") [b, a] = butter (n, Wn_p, "s"); f = 8000:12000; W = 2 * pi * f; H = freqs (b, a, W); plot (f, 20 * log10 (abs (H))); title ("Analog Butterworth band-pass : matching pass band, limit on upper freq"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_bp_pass_x = [fpass(1), fpass(1), fpass(2), fpass(2)]; outline_bp_pass_y = [-80 , -Rpass , -Rpass , -80]; outline_bp_stop_x = [f(2) , fstop(1), fstop(1), fstop(2), ... fstop(2), max(f)]; outline_bp_stop_y = [-Rstop , -Rstop , 0 , 0 , ... -Rstop , -Rstop]; hold on; plot (outline_bp_pass_x, outline_bp_pass_y, "m"); plot (outline_bp_stop_x, outline_bp_stop_y, "m"); ylim ([-80, 0]); ***** demo fpass = [9875, 10126.5823]; fstop = [9000, 10436]; Rpass = 1; Rstop = 26; Wpass = 2 * pi * fpass; Wstop = 2 * pi * fstop; [n, Wn_p, Wn_s] = buttord (Wpass, Wstop, Rpass, Rstop, "s") [b, a] = butter (n, Wn_s, "s"); f = 8000:12000; W = 2 * pi * f; H = freqs (b, a, W); plot (f, 20 * log10 (abs (H))); title ("Analog Butterworth band-pass : matching stop band, limit on upper freq"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_bp_pass_x = [fpass(1), fpass(1), fpass(2), fpass(2)]; outline_bp_pass_y = [-80 , -Rpass , -Rpass , -80]; outline_bp_stop_x = [f(2) , fstop(1), fstop(1), fstop(2), ... fstop(2), max(f)]; outline_bp_stop_y = [-Rstop , -Rstop , 0 , 0 , ... -Rstop , -Rstop]; hold on; plot (outline_bp_pass_x, outline_bp_pass_y, "m"); plot (outline_bp_stop_x, outline_bp_stop_y, "m"); ylim ([-80, 0]); ***** demo fpass = [9875, 10126.5823]; fstop = [9582, 11000]; Rpass = 1; Rstop = 26; Wpass = 2 * pi * fpass; Wstop = 2 * pi * fstop; [n, Wn_p, Wn_s] = buttord (Wpass, Wstop, Rpass, Rstop, "s") [b, a] = butter (n, Wn_p, "s"); f = 8000:12000; W = 2 * pi * f; H = freqs (b, a, W); plot (f, 20 * log10 (abs (H))); title ("Analog Butterworth band-pass : matching pass band, limit on lower freq"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_bp_pass_x = [fpass(1), fpass(1), fpass(2), fpass(2)]; outline_bp_pass_y = [-80 , -Rpass , -Rpass , -80]; outline_bp_stop_x = [f(2) , fstop(1), fstop(1), fstop(2), ... fstop(2), max(f)]; outline_bp_stop_y = [-Rstop , -Rstop , 0 , 0 , ... -Rstop , -Rstop]; hold on; plot (outline_bp_pass_x, outline_bp_pass_y, "m"); plot (outline_bp_stop_x, outline_bp_stop_y, "m"); ylim ([-80, 0]); ***** demo fpass = [9875, 10126.5823]; fstop = [9582, 11000]; Rpass = 1; Rstop = 26; Wpass = 2 * pi * fpass; Wstop = 2 * pi * fstop; [n, Wn_p, Wn_s] = buttord (Wpass, Wstop, Rpass, Rstop, "s") [b, a] = butter (n, Wn_s, "s"); f = 8000:12000; W = 2 * pi * f; H = freqs (b, a, W); plot (f, 20 * log10 (abs (H))); title ("Analog Butterworth band-pass : matching stop band, limit on lower freq"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_bp_pass_x = [fpass(1), fpass(1), fpass(2), fpass(2)]; outline_bp_pass_y = [-80 , -Rpass , -Rpass , -80]; outline_bp_stop_x = [f(2) , fstop(1), fstop(1), fstop(2), ... fstop(2), max(f)]; outline_bp_stop_y = [-Rstop , -Rstop , 0 , 0 , ... -Rstop , -Rstop]; hold on; plot (outline_bp_pass_x, outline_bp_pass_y, "m"); plot (outline_bp_stop_x, outline_bp_stop_y, "m"); ylim ([-80, 0]); ***** demo fstop = [9875 10126.5823]; fpass = [9000 10436]; Rpass = 1; Rstop = 26; Wpass = 2 * pi * fpass; Wstop = 2 * pi * fstop; [n, Wn_p, Wn_s] = buttord (Wpass, Wstop, Rpass, Rstop, "s") [b, a] = butter (n, Wn_p, "stop", "s"); f = 8000:12000; W = 2 * pi * f; H = freqs (b, a, W); plot (f, 20 * log10 (abs (H))); title ("Analog Butterworth notch : matching pass band, limit on upper freq"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_notch_pass_x_a = [f(2) , fpass(1), fpass(1)]; outline_notch_pass_x_b = [fpass(2), fpass(2), max(f)]; outline_notch_pass_y_a = [-Rpass , -Rpass , -80]; outline_notch_pass_y_b = [-80 , -Rpass , -Rpass]; outline_notch_stop_x = [f(2) , fstop(1), fstop(1), fstop(2), ... fstop(2), max(f)]; outline_notch_stop_y = [0 , 0 , -Rstop , -Rstop , ... 0 , 0 ]; hold on; plot (outline_notch_pass_x_a, outline_notch_pass_y_a, "m"); plot (outline_notch_pass_x_b, outline_notch_pass_y_b, "m"); plot (outline_notch_stop_x, outline_notch_stop_y, "m"); ylim ([-80, 0]); ***** demo fstop = [9875 10126.5823]; fpass = [9000 10436]; Rpass = 1; Rstop = 26; Wpass = 2 * pi * fpass; Wstop = 2 * pi * fstop; [n, Wn_p, Wn_s] = buttord (Wpass, Wstop, Rpass, Rstop, "s") [b, a] = butter (n, Wn_s, "stop", "s"); f = 8000:12000; W = 2 * pi * f; H = freqs (b, a, W); plot (f, 20 * log10 (abs (H))); title ("Analog Butterworth notch : matching stop band, limit on upper freq"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_notch_pass_x_a = [f(2) , fpass(1), fpass(1)]; outline_notch_pass_x_b = [fpass(2), fpass(2), max(f)]; outline_notch_pass_y_a = [-Rpass , -Rpass , -80]; outline_notch_pass_y_b = [-80 , -Rpass , -Rpass]; outline_notch_stop_x = [f(2) , fstop(1), fstop(1), fstop(2), ... fstop(2), max(f)]; outline_notch_stop_y = [0 , 0 , -Rstop , -Rstop , ... 0 , 0 ]; hold on; plot (outline_notch_pass_x_a, outline_notch_pass_y_a, "m"); plot (outline_notch_pass_x_b, outline_notch_pass_y_b, "m"); plot (outline_notch_stop_x, outline_notch_stop_y, "m"); ylim ([-80, 0]); ***** demo fstop = [9875 10126.5823]; fpass = [9582 11000]; Rpass = 1; Rstop = 26; Wpass = 2 * pi * fpass; Wstop = 2 * pi * fstop; [n, Wn_p, Wn_s] = buttord (Wpass, Wstop, Rpass, Rstop, "s") [b, a] = butter (n, Wn_p, "stop", "s"); f = 8000:12000; W = 2 * pi * f; H = freqs (b, a, W); plot (f, 20 * log10 (abs (H))); title ("Analog Butterworth notch : matching pass band, limit on lower freq"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_notch_pass_x_a = [f(2) , fpass(1), fpass(1)]; outline_notch_pass_x_b = [fpass(2), fpass(2), max(f)]; outline_notch_pass_y_a = [-Rpass , -Rpass , -80]; outline_notch_pass_y_b = [-80 , -Rpass , -Rpass]; outline_notch_stop_x = [f(2) , fstop(1), fstop(1), fstop(2), ... fstop(2), max(f)]; outline_notch_stop_y = [0 , 0 , -Rstop , -Rstop , ... 0 , 0 ]; hold on; plot (outline_notch_pass_x_a, outline_notch_pass_y_a, "m"); plot (outline_notch_pass_x_b, outline_notch_pass_y_b, "m"); plot (outline_notch_stop_x, outline_notch_stop_y, "m"); ylim ([-80, 0]); ***** demo fstop = [9875 10126.5823]; fpass = [9582 11000]; Rpass = 1; Rstop = 26; Wpass = 2 * pi * fpass; Wstop = 2 * pi * fstop; [n, Wn_p, Wn_s] = buttord (Wpass, Wstop, Rpass, Rstop, "s") [b, a] = butter (n, Wn_s, "stop", "s"); f = 8000:12000; W = 2 * pi * f; H = freqs (b, a, W); plot (f, 20 * log10 (abs (H))); title ("Analog Butterworth notch : matching stop band, limit on lower freq"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_notch_pass_x_a = [f(2) , fpass(1), fpass(1)]; outline_notch_pass_x_b = [fpass(2), fpass(2), max(f)]; outline_notch_pass_y_a = [-Rpass , -Rpass , -80]; outline_notch_pass_y_b = [-80 , -Rpass , -Rpass]; outline_notch_stop_x = [f(2) , fstop(1), fstop(1), fstop(2), ... fstop(2), max(f)]; outline_notch_stop_y = [0 , 0 , -Rstop , -Rstop , ... 0 , 0 ]; hold on; plot (outline_notch_pass_x_a, outline_notch_pass_y_a, "m"); plot (outline_notch_pass_x_b, outline_notch_pass_y_b, "m"); plot (outline_notch_stop_x, outline_notch_stop_y, "m"); ylim ([-80, 0]); ***** test # Analog band-pass [n, Wn_p, Wn_s] = buttord (2 * pi * [9875, 10126.5823], ... 2 * pi * [9000, 10436], 1, 26, "s"); assert (n, 4); assert (round (Wn_p), [61903, 63775]); assert (round (Wn_s), [61575, 64114]); ***** test # Analog band-pass [n, Wn_p, Wn_s] = buttord (2 * pi * [9875, 10126.5823], ... 2 * pi * [9582, 11000], 1, 26, "s"); assert (n, 4); assert (round (Wn_p), [61903, 63775]); assert (round (Wn_s), [61575, 64115]); ***** test # Analog band-pass [n, Wn_p, Wn_s] = buttord (2 * pi * [9875, 10126.5823], ... 2 * pi * [9000, 10437], 1, 26, "s"); assert (n, 3); assert (round (Wn_p), [61850, 63830]); assert (round (Wn_s), [61848, 63831]); ***** test # Analog band-pass [n, Wn_p, Wn_s] = buttord (2 * pi * [9875, 10126.5823], ... 2 * pi * [9581, 11000], 1, 26, "s"); assert (n, 3); assert (round (Wn_p), [61850, 63830]); assert (round (Wn_s), [61847, 63832]); ***** test # Analog high-pass [n, Wn_p, Wn_s] = buttord (2 * pi * 13583, 2 * pi * 4000, 1, 26, "s"); assert (n, 4); assert (round (Wn_p), 72081); assert (round (Wn_s), 53101); ***** test # Analog high-pass [n, Wn_p, Wn_s] = buttord (2 * pi * 13584, 2 * pi * 4000, 1, 26, "s"); assert (n, 3); assert (round (Wn_p), 68140); assert (round (Wn_s), 68138); ***** test # Analog low-pass [n, Wn_p, Wn_s] = buttord (2 * pi * 4000, 2 * pi * 13583, 1, 26, "s"); assert (n, 4); assert (round (Wn_p), 29757); assert (round (Wn_s), 40394); ***** test # Analog low-pass [n, Wn_p, Wn_s] = buttord (2 * pi * 4000, 2 * pi * 13584, 1, 26, "s"); assert (n, 3); assert (round (Wn_p), 31481); assert (round (Wn_s), 31482); ***** test # Analog notch (narrow band-stop) [n, Wn_p, Wn_s] = buttord (2 * pi * [9000, 10436], ... 2 * pi * [9875, 10126.5823], 1, 26, "s"); assert (n, 4); assert (round (Wn_p), [60607, 65138]); assert (round (Wn_s), [61184, 64524]); ***** test # Analog notch (narrow band-stop) [n, Wn_p, Wn_s] = buttord (2 * pi * [9582, 11000], ... 2 * pi * [9875, 10126.5823], 1, 26, "s"); assert (n, 4); assert (round (Wn_p), [60606, 65139]); assert (round (Wn_s), [61184, 64524]); ***** test # Analog notch (narrow band-stop) [n, Wn_p, Wn_s] = buttord (2 * pi * [9000, 10437], ... 2 * pi * [9875, 10126.5823], 1, 26, "s"); assert (n, 3); assert (round (Wn_p), [60722, 65015]); assert (round (Wn_s), [60726, 65011]); ***** test # Analog notch (narrow band-stop) [n, Wn_p, Wn_s] = buttord (2 * pi * [9581, 11000], ... 2 * pi * [9875, 10126.5823], 1, 26, "s"); assert (n, 3); assert (round (Wn_p), [60721, 65016]); assert (round (Wn_s), [60726, 65011]); ***** test # Digital band-pass fs = 44100; [n, Wn_p, Wn_s] = buttord (2 / fs * [9500, 9750], ... 2 / fs * [8500, 10051], 1, 26); Wn_p = Wn_p * fs / 2; Wn_s = Wn_s * fs / 2; assert (n, 4); assert (round (Wn_p), [9477, 9773]); assert (round (Wn_s), [9425, 9826]); ***** test # Digital band-pass fs = 44100; [n, Wn_p, Wn_s] = buttord (2 / fs * [9500, 9750], ... 2 / fs * [9204, 10700], 1, 26); Wn_p = Wn_p * fs / 2; Wn_s = Wn_s * fs / 2; assert (n, 4); assert (round (Wn_p), [9477, 9773]); assert (round (Wn_s), [9425, 9826]); ***** test # Digital band-pass fs = 44100; [n, Wn_p, Wn_s] = buttord (2 / fs * [9500, 9750], ... 2 / fs * [8500, 10052], 1, 26); Wn_p = Wn_p * fs / 2; Wn_s = Wn_s * fs / 2; assert (n, 3); assert (round (Wn_p), [9469, 9782]); assert (round (Wn_s), [9468, 9782]); ***** test # Digital band-pass fs = 44100; [n, Wn_p, Wn_s] = buttord (2 / fs * [9500, 9750], ... 2 / fs * [9203, 10700], 1, 26); Wn_p = Wn_p * fs / 2; Wn_s = Wn_s * fs / 2; assert (n, 3); assert (round (Wn_p), [9469, 9782]); assert (round (Wn_s), [9468, 9782]); ***** test # Digital high-pass fs = 44100; [n, Wn_p, Wn_s] = buttord (2 / fs * 10987, 2 / fs * 4000, 1, 26); Wn_p = Wn_p * fs / 2; Wn_s = Wn_s * fs / 2; assert (n, 4); assert (round (Wn_p), 9808); assert (round (Wn_s), 7780); ***** test # Digital high-pass fs = 44100; [n, Wn_p, Wn_s] = buttord (2 / fs * 10988, 2 / fs * 4000, 1, 26); Wn_p = Wn_p * fs / 2; Wn_s = Wn_s * fs / 2; assert (n, 3); assert (round (Wn_p), 9421); assert (round (Wn_s), 9421); ***** test # Digital low-pass fs = 44100; [n, Wn_p, Wn_s] = buttord (2 / fs * 4000, 2 / fs * 10987, 1, 26); Wn_p = Wn_p * fs / 2; Wn_s = Wn_s * fs / 2; assert (n, 4); assert (round (Wn_p), 4686); assert (round (Wn_s), 6176); ***** test # Digital low-pass fs = 44100; [n, Wn_p, Wn_s] = buttord (2 / fs * 4000, 2 / fs * 10988, 1, 26); Wn_p = Wn_p * fs / 2; Wn_s = Wn_s * fs / 2; assert (n, 3); assert (round (Wn_p), 4936); assert (round (Wn_s), 4936); ***** test # Digital notch (narrow band-stop) fs = 44100; [n, Wn_p, Wn_s] = buttord (2 / fs * [8500, 10833], ... 2 / fs * [9875, 10126.5823], 0.5, 40); Wn_p = Wn_p * fs / 2; Wn_s = Wn_s * fs / 2; assert (n, 4); assert (round (Wn_p), [9369, 10640]); assert (round (Wn_s), [9605, 10400]); ***** test # Digital notch (narrow band-stop) fs = 44100; [n, Wn_p, Wn_s] = buttord (2 / fs * [9183, 11000], ... 2 / fs * [9875, 10126.5823], 0.5, 40); Wn_p = Wn_p * fs / 2; Wn_s = Wn_s * fs / 2; assert (n, 4); assert (round (Wn_p), [9370, 10640]); assert (round (Wn_s), [9605, 10400]); ***** test # Digital notch (narrow band-stop) fs = 44100; [n, Wn_p, Wn_s] = buttord (2 / fs * [8500, 10834], ... 2 / fs * [9875, 10126.5823], 0.5, 40); Wn_p = Wn_p * fs / 2; Wn_s = Wn_s * fs / 2; assert (n, 3); assert (round (Wn_p), [9421, 10587]); assert (round (Wn_s), [9422, 10587]); ***** test # Digital notch (narrow band-stop) fs = 44100; [n, Wn_p, Wn_s] = buttord (2 / fs * [9182, 11000], ... 2 / fs * [9875, 10126.5823], 0.5, 40); Wn_p = Wn_p * fs / 2; Wn_s = Wn_s * fs / 2; assert (n, 3); assert (round (Wn_p), [9421, 10587]); assert (round (Wn_s), [9422, 10587]); ***** error buttord () ***** error buttord (.1) ***** error buttord (.1, .2) ***** error buttord (.1, .2, 3) ***** error buttord ([.1 .1], [.2 .2], 3, 4) ***** error buttord ([.1 .2], [.5 .6], 3, 4) ***** error buttord ([.1 .5], [.2 .6], 3, 4) 31 tests, 31 passed, 0 known failure, 0 skipped [inst/primitive.m] >>>>> /<>/inst/primitive.m ***** demo f = @(t) sin (2*pi*3*t); t = [0; sort(rand (100, 1))]; F = primitive (f, t, 0); t_true = linspace (0, 1, 1e3).'; F_true = (1 - cos (2 * pi * 3 * t_true)) / (2 * pi * 3); h = plot (t, F, "o;Numerical primitive;", t_true, F_true, "-;True primitive;"); set (h, "linewidth", 2); title ("Numerical primitive evaluated at random time points"); ***** error primitive () ***** error primitive (1) ***** error primitive (1, 2, 3, 4) 3 tests, 3 passed, 0 known failure, 0 skipped [inst/zp2sos.m] >>>>> /<>/inst/zp2sos.m ***** test B=[1 0 0 0 0 1]; A=[1 0 0 0 0 .9]; [z,p,k] = tf2zp(B,A); [sos,g] = zp2sos(z,p,k); [Bh,Ah] = sos2tf(sos,g); assert({Bh,Ah},{B,A},100*eps); 1 test, 1 passed, 0 known failure, 0 skipped [inst/blackmanharris.m] >>>>> /<>/inst/blackmanharris.m ***** assert (blackmanharris (1), 1); ***** assert (blackmanharris (2), 0.00006 * ones (2, 1), eps); ***** assert (blackmanharris (15), flipud (blackmanharris (15)), 10*eps); ***** assert (blackmanharris (16), flipud (blackmanharris (16)), 10*eps); ***** assert (blackmanharris (15), blackmanharris (15, "symmetric")); ***** assert (blackmanharris (16)(1:15), blackmanharris (15, "periodic")); ***** error blackmanharris () ***** error blackmanharris (0.5) ***** error blackmanharris (-1) ***** error blackmanharris (ones (1, 4)) ***** error blackmanharris (1, 2) ***** error blackmanharris (1, "invalid") 12 tests, 12 passed, 0 known failure, 0 skipped [inst/triang.m] >>>>> /<>/inst/triang.m ***** assert (triang (1), 1) ***** assert (triang (2), [1; 1]/2) ***** assert (triang (3), [1; 2; 1]/2) ***** assert (triang (4), [1; 3; 3; 1]/4) ***** test x = bartlett (5); assert (triang (3), x(2:4)); ***** error triang () ***** error triang (0.5) ***** error triang (-1) ***** error triang (ones (1, 4)) ***** error triang (1, 2) ***** demo subplot(221); n=7; k=(n-1)/2; t=[-k:0.1:k]/(k+1); plot(t,1-abs(t),";continuous;",[-k:k]/(k+1),triang(n),"g*;discrete;"); axis([-1, 1, 0, 1.3]); grid("on"); title("comparison with continuous for odd n"); subplot(222); n=8; k=(n-1)/2; t=[-k:0.1:k]/(k+1/2); plot(t,1+1/n-abs(t),";continuous;",[-k:k]/(k+1/2),triang(n),"g*;discrete;"); axis([-1, 1, 0, 1.3]); grid("on"); title("note the higher peak for even n"); subplot(223); n=7; plot(0:n+1,bartlett(n+2),"g-*;bartlett;",triang(n),"r-+;triang;"); axis; grid("off"); title("n odd, triang(n)==bartlett(n+2)"); subplot(224); n=8; plot(0:n+1,bartlett(n+2),"g-*;bartlett;",triang(n),"r-+;triang;"); axis; grid("off"); title("n even, triang(n)!=bartlett(n+2)"); 10 tests, 10 passed, 0 known failure, 0 skipped [inst/invimpinvar.m] >>>>> /<>/inst/invimpinvar.m ***** function err = ztoserr(bz,az,fs) # number of time steps n=100; # make sure system is realizable (no delays) bz=prepad(bz,length(az)-1,0,2); # inverse impulse invariant transform to s-domain [bs as]=invimpinvar(bz,az,fs); # create sys object of transfer function s=tf(bs,as); # calculate impulse response of continuous time system # at discrete time intervals 1/fs ys=impulse(s,(n-1)/fs,1/fs)'; # impulse response of discrete time system yz=filter(bz,az,[1 zeros(1,n-1)]); # find rms error err=sqrt(sum((yz*fs.-ys).^2)/length(ys)); endfunction ***** assert(ztoserr([1],[1 -0.5],0.01),0,0.0001); ***** assert(ztoserr([1],[1 -1 0.25],0.01),0,0.0001); ***** assert(ztoserr([1 1],[1 -1 0.25],0.01),0,0.0001); ***** assert(ztoserr([1],[1 -1.5 0.75 -0.125],0.01),0,0.0001); ***** assert(ztoserr([1 1],[1 -1.5 0.75 -0.125],0.01),0,0.0001); ***** assert(ztoserr([1 1 1],[1 -1.5 0.75 -0.125],0.01),0,0.0001); ***** assert(ztoserr([1],[1 0 0.25],0.01),0,0.0001); ***** assert(ztoserr([1 1],[1 0 0.25],0.01),0,0.0001); ***** assert(ztoserr([1],[1 0 0.5 0 0.0625],0.01),0,0.0001); ***** assert(ztoserr([1 1],[1 0 0.5 0 0.0625],0.01),0,0.0001); ***** assert(ztoserr([1 1 1],[1 0 0.5 0 0.0625],0.01),0,0.0001); ***** assert(ztoserr([1 1 1 1],[1 0 0.5 0 0.0625],0.01),0,0.0001); 12 tests, 12 passed, 0 known failure, 0 skipped [inst/cheby2.m] >>>>> /<>/inst/cheby2.m ***** error [a, b] = cheby2 () ***** error [a, b] = cheby2 (1) ***** error [a, b] = cheby2 (1, 2) ***** error [a, b] = cheby2 (1, 2, 3, 4, 5, 6) ***** error [a, b] = cheby2 (.5, 40, .2) ***** error [a, b] = cheby2 (3, 40, .2, "invalid") ***** test cheby2 (3, 4, .5); assert (isrow (ans)); ***** test A = cheby2 (3, 4, .5); assert (isrow (A)); ***** test [A, B] = cheby2 (3, 4, .5); assert (isrow (A)); assert (isrow (B)); ***** test [z, p, g] = cheby2 (3, 4, .5); assert (iscolumn (z)); assert (iscolumn (p)); assert (isscalar (g)); ***** test [a, b, c, d] = cheby2 (3, 4, .5); assert (ismatrix (a)); assert (iscolumn (b)); assert (isrow (c)); assert (isscalar (d)); 11 tests, 11 passed, 0 known failure, 0 skipped [inst/czt.m] >>>>> /<>/inst/czt.m ***** shared x x = [1,2,4,1,2,3,5,2,3,5,6,7,8,4,3,6,3,2,5,1]; ***** assert(fft(x),czt(x),10000*eps); ***** assert(fft(x'),czt(x'),10000*eps); ***** assert(fft([x',x']),czt([x',x']),10000*eps); 3 tests, 3 passed, 0 known failure, 0 skipped [inst/resample.m] >>>>> /<>/inst/resample.m ***** test N=512; p=3; q=5; r=p/q; NN=ceil(r*N); t=0:N-1; tt=0:NN-1; err=zeros(N/2,1); for n = 0:N/2-1, phi0=2*pi*rand; f0=n/N; x=sin(2*pi*f0*t' + phi0); [y,h]=resample(x,p,q); xx=sin(2*pi*f0/r*tt' + phi0); t0=ceil((length(h)-1)/2/q); idx=t0+1:NN-t0; err(n+1)=max(abs(y(idx)-xx(idx))); endfor; rolloff=.1; rejection=10^-3; idx_inband=1:ceil((1-rolloff/2)*r*N/2)-1; assert(max(err(idx_inband))>>>> /<>/inst/hann.m ***** assert (hann (1), 1); ***** assert (hann (2), zeros (2, 1)); ***** assert (hann (16), flipud (hann (16)), 10*eps); ***** assert (hann (15), flipud (hann (15)), 10*eps); ***** test N = 15; A = hann (N); assert (A(ceil (N/2)), 1); ***** assert (hann (15), hann (15, "symmetric")); ***** assert (hann (16)(1:15), hann (15, "periodic")); ***** test N = 16; A = hann (N, "periodic"); assert (A (N/2 + 1), 1); ***** error hann () ***** error hann (0.5) ***** error hann (-1) ***** error hann (1, "invalid") 12 tests, 12 passed, 0 known failure, 0 skipped [inst/gausswin.m] >>>>> /<>/inst/gausswin.m ***** assert (gausswin (1), 1) ***** assert (gausswin (2), [exp(-3.125); exp(-3.125)]) ***** assert (gausswin (3), [exp(-3.125); 1; exp(-3.125)]) ***** error gausswin () ***** error gausswin (0.5) ***** error gausswin (-1) ***** error gausswin (ones (1, 4)) ***** error gausswin (1, 2, 3) 8 tests, 8 passed, 0 known failure, 0 skipped [inst/sos2tf.m] >>>>> /<>/inst/sos2tf.m ***** test B = [1, 1]; A = [1, 0.5]; [sos, g] = tf2sos (B, A); [Bh, Ah] = sos2tf (sos, g); assert (g, 1); assert (Bh, B, 10*eps); assert (Ah, A, 10*eps); ***** test B = [1, 0, 0, 0, 0, 1]; A = [1, 0, 0, 0, 0, 0.9]; [sos, g] = tf2sos (B, A); [Bh, Ah] = sos2tf (sos, g); assert (g, 1); assert (Bh, B, 100*eps); assert (Ah, A, 100*eps); ***** test B = [1, 1]; A = [1, 0.5]; [sos, g] = tf2sos (B, A); [Bh, Ah] = sos2tf (sos, 2); assert (g, 1); assert (Bh, 2 * B, 10*eps); assert (Ah, A, 10*eps); ***** test B = [1, 1]; A = [1, 0.5]; [sos, g] = tf2sos (B, A); [Bh, Ah] = sos2tf (sos, [2, 2, 2]); assert (g, 1); assert (Bh, 8 * B, 10*eps); assert (Ah, A, 10*eps); 4 tests, 4 passed, 0 known failure, 0 skipped [inst/sgolay.m] >>>>> /<>/inst/sgolay.m ***** test N=2^12; t=[0:N-1]'/N; dt=t(2)-t(1); w = 2*pi*50; offset = 0.5; # 50 Hz carrier # exponential modulation and its derivatives d = 1+exp(-3*(t-offset)); dd = -3*exp(-3*(t-offset)); d2d = 9*exp(-3*(t-offset)); d3d = -27*exp(-3*(t-offset)); # modulated carrier and its derivatives x = d.*sin(w*t); dx = dd.*sin(w*t) + w*d.*cos(w*t); d2x = (d2d-w^2*d).*sin(w*t) + 2*w*dd.*cos(w*t); d3x = (d3d-3*w^2*dd).*sin(w*t) + (3*w*d2d-w^3*d).*cos(w*t); y = sgolayfilt(x,sgolay(8,41,0,dt)); assert(norm(y-x)/norm(x),0,5e-6); y = sgolayfilt(x,sgolay(8,41,1,dt)); assert(norm(y-dx)/norm(dx),0,5e-6); y = sgolayfilt(x,sgolay(8,41,2,dt)); assert(norm(y-d2x)/norm(d2x),0,1e-5); y = sgolayfilt(x,sgolay(8,41,3,dt)); assert(norm(y-d3x)/norm(d3x),0,1e-4); 1 test, 1 passed, 0 known failure, 0 skipped [inst/barthannwin.m] >>>>> /<>/inst/barthannwin.m ***** assert (barthannwin (1), 1) ***** assert (barthannwin (2), zeros (2, 1)) ***** error barthannwin () ***** error barthannwin (0.5) ***** error barthannwin (-1) ***** error barthannwin (ones (1, 4)) ***** error barthannwin (1, 2) 7 tests, 7 passed, 0 known failure, 0 skipped [inst/filtfilt.m] >>>>> /<>/inst/filtfilt.m ***** error filtfilt (); ***** error filtfilt (1, 2, 3, 4); ***** error filtfilt ([0.28, 0.71, 0.28], 1, rand ()) ***** error filtfilt ([0.28, 0.71, 0.28], 1, rand (6, 1)) ***** test randn('state',0); r = randn(1,200); [b,a] = butter(10, [.2, .25]); yfb = filtfilt(b, a, r); assert (size(r), size(yfb)); assert (mean(abs(yfb)) < 1e3); assert (mean(abs(yfb)) < mean(abs(r))); ybf = fliplr(filtfilt(b, a, fliplr(r))); assert (mean(abs(ybf)) < 1e3); assert (mean(abs(ybf)) < mean(abs(r))); ***** test randn('state',0); r = randn(1,1000); s = 10 * sin(pi * 4e-2 * (1:length(r))); [b,a] = cheby1(2, .5, [4e-4 8e-2]); y = filtfilt(b, a, r+s); assert (size(r), size(y)); assert (mean(abs(y)) < 1e3); assert (corr(s(250:750), y(250:750)) > .95) [b,a] = butter(2, [4e-4 8e-2]); yb = filtfilt(b, a, r+s); assert (mean(abs(yb)) < 1e3); assert (corr(y, yb) > .99) ***** test randn('state',0); r = randn(1,1000); s = 10 * sin(pi * 4e-2 * (1:length(r))); [b,a] = butter(2, [4e-4 8e-2]); y = filtfilt(b, a, [r.' s.']); yr = filtfilt(b, a, r); ys = filtfilt(b, a, s); assert (y, [yr.' ys.']); y2 = filtfilt(b.', a.', [r.' s.']); assert (y, y2); 7 tests, 7 passed, 0 known failure, 0 skipped [inst/cheby1.m] >>>>> /<>/inst/cheby1.m ***** error [a, b] = cheby1 () ***** error [a, b] = cheby1 (1) ***** error [a, b] = cheby1 (1, 2) ***** error [a, b] = cheby1 (1, 2, 3, 4, 5, 6) ***** error [a, b] = cheby1 (.5, 2, .2) ***** error [a, b] = cheby1 (3, 2, .2, "invalid") ***** test cheby1 (3, 4, .5); assert (isrow (ans)); ***** test A = cheby1 (3, 4, .5); assert (isrow (A)); ***** test [A, B] = cheby1 (3, 4, .5); assert (isrow (A)); assert (isrow (B)); ***** test [z, p, g] = cheby1 (3, 4, .5); assert (iscolumn (z)); assert (iscolumn (p)); assert (isscalar (g)); ***** test [a, b, c, d] = cheby1 (3, 4, .5); assert (ismatrix (a)); assert (iscolumn (b)); assert (isrow (c)); assert (isscalar (d)); 11 tests, 11 passed, 0 known failure, 0 skipped [inst/fir1.m] >>>>> /<>/inst/fir1.m ***** demo freqz(fir1(40,0.3)); ***** demo freqz(fir1(15,[0.2, 0.5], 'stop')); # note the zero-crossing at 0.1 ***** demo freqz(fir1(15,[0.2, 0.5], 'stop', 'noscale')); ***** assert(fir1(2, .5, 'low', @hanning, 'scale'), [0 1 0]); ***** assert(fir1(2, .5, 'low', "hanning", 'scale'), [0 1 0]); ***** assert(fir1(2, .5, 'low', hanning(3), 'scale'), [0 1 0]); ***** assert(fir1(10,.5,'noscale'), fir1(10,.5,'low','hamming','noscale')); ***** assert(fir1(10,.5,'high'), fir1(10,.5,'high','hamming','scale')); ***** assert(fir1(10,.5,'boxcar'), fir1(10,.5,'low','boxcar','scale')); ***** assert(fir1(10,.5,'hanning','scale'), fir1(10,.5,'scale','hanning','low')); ***** assert(fir1(10,.5,'haNNing','NOscale'), fir1(10,.5,'noscale','Hanning','LOW')); ***** assert(fir1(10,.5,'boxcar',[]), fir1(10,.5,'boxcar')); ***** test b = fir1 (30, 0.3); h = abs (freqz (b, 1, [0, 0.3, 1], 2)); assert (h(1), 1, 1e-3) assert (all (h(2:3) <= [1/sqrt(2), 3e-3])) ***** test b = fir1 (30, 0.7, "high"); h = abs (freqz (b, 1, [0, 0.7, 1], 2)); assert (h(3), 1, 1e-3) assert (all (h(1:2) <= [3e-3, 1/sqrt(2)])) ***** test b = fir1 (30, [0.3, 0.7]); h = abs (freqz (b, 1, [0, 0.3, 0.5, 0.7, 1], 2)); assert (h(3), 1, 1e-3) assert (all (h([1:2, 4:5]) <= [3e-3, 1/sqrt(2), 1/sqrt(2), 3e-3])) ***** test b = fir1 (50, [0.3, 0.7], "stop"); h = abs (freqz (b, 1, [0, 0.3, 0.5, 0.7, 1], 2)); assert (h(1), 1, 1e-3) assert (h(5), 1, 1e-3) assert (all (h(2:4) <= [1/sqrt(2), 3e-3, 1/sqrt(2)])) 13 tests, 13 passed, 0 known failure, 0 skipped [inst/tukeywin.m] >>>>> /<>/inst/tukeywin.m ***** demo m = 100; r = 1/3; w = tukeywin (m, r); title(sprintf("%d-point Tukey window, R = %d/%d", m, [p, q] = rat(r), q)); plot(w); ***** assert (tukeywin (1), 1) ***** assert (tukeywin (2), zeros (2, 1)) ***** assert (tukeywin (3), [0; 1; 0]) ***** assert (tukeywin (16, 0), rectwin (16)) ***** assert (tukeywin (16, 1), hanning (16)) ***** error tukeywin () ***** error tukeywin (0.5) ***** error tukeywin (-1) ***** error tukeywin (ones (1, 4)) ***** error tukeywin (1, 2, 3) 10 tests, 10 passed, 0 known failure, 0 skipped [inst/uencode.m] >>>>> /<>/inst/uencode.m ***** test u = [-3:0.5:3]; y = uencode (u, 2); assert (y, [0 0 0 0 0 1 2 3 3 3 3 3 3]); ***** test u = [-4:0.5:4]; y = uencode (u, 3, 4); assert (y, [0 0 1 1 2 2 3 3 4 4 5 5 6 6 7 7 7]); ***** test u = [-8:0.5:8]; y = uencode(u, 4, 8, "unsigned"); assert (y, [0 0 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 11 11 12 12 13 13 14 14 15 15 15]); ***** test u = [-8:0.5:8]; y = uencode(u, 4, 8, "signed"); assert (y, [-8 -8 -7 -7 -6 -6 -5 -5 -4 -4 -3 -3 -2 -2 -1 -1 0 0 1 1 2 2 3 3 4 4 5 5 6 6 7 7 7]); ***** error uencode () ***** error uencode (1) ***** error uencode (1, 2, 3, 4, 5) ***** error uencode (1, 100) ***** error uencode (1, 4, 0) ***** error uencode (1, 4, -1) ***** error uencode (1, 4, 2, "invalid") 11 tests, 11 passed, 0 known failure, 0 skipped [inst/residuez.m] >>>>> /<>/inst/residuez.m ***** test B=[1 -2 1]; A=[1 -1]; [r,p,f,m] = residuez(B,A); assert(r,0,100*eps); assert(p,1,100*eps); assert(f,[1 -1],100*eps); assert(m,1,100*eps); ***** test B=1; A=[1 -1j]; [r,p,f,m] = residuez(B,A); assert(r,1,100*eps); assert(p,1j,100*eps); assert(f,[],100*eps); assert(m,1,100*eps); ***** test B=1; A=[1 -1 .25]; [r,p,f,m] = residuez(B,A); [rs,is] = sort(r); assert(rs,[0;1],1e-7); assert(p(is),[0.5;0.5],1e-8); assert(f,[],100*eps); assert(m(is),[1;2],100*eps); ***** test B=1; A=[1 -0.75 .125]; [r,p,f,m] = residuez(B,A); [rs,is] = sort(r); assert(rs,[-1;2],100*eps); assert(p(is),[0.25;0.5],100*eps); assert(f,[],100*eps); assert(m(is),[1;1],100*eps); ***** test B=[1,6,2]; A=[1,-2,1]; [r,p,f,m] = residuez(B,A); [rs,is] = sort(r); assert(rs,[-10;9],1e-7); assert(p(is),[1;1],1e-8); assert(f,[2],100*eps); assert(m(is),[1;2],100*eps); ***** test B=[6,2]; A=[1,-2,1]; [r,p,f,m] = residuez(B,A); [rs,is] = sort(r); assert(rs,[-2;8],1e-7); assert(p(is),[1;1],1e-8); assert(f,[],100*eps); assert(m(is),[1;2],100*eps); ***** test B=[1,6,6,2]; A=[1,-2,1]; [r,p,f,m] = residuez(B,A); [rs,is] = sort(r); assert(rs,[-24;15],2e-7); assert(p(is),[1;1],1e-8); assert(f,[10,2],100*eps); assert(m(is),[1;2],100*eps); ***** test B=[1,6,6,2]; A=[1,-(2+j),(1+2j),-j]; [r,p,f,m] = residuez(B,A); [rs,is] = sort(r); assert(rs,[-2+2.5j;7.5+7.5j;-4.5-12j],1E-6); assert(p(is),[1j;1;1],1E-6); assert(f,-2j,1E-6); assert(m(is),[1;2;1],1E-6); ***** test B=[1,0,1]; A=[1,0,0,0,0,-1]; [r,p,f,m] = residuez(B,A); [as,is] = sort(angle(p)); rise = [ ... 0.26180339887499 - 0.19021130325903i; ... 0.03819660112501 + 0.11755705045849i; ... 0.4; ... 0.03819660112501 - 0.11755705045849i; ... 0.26180339887499 + 0.19021130325903i;]; pise = [ ... -0.80901699437495 - 0.58778525229247i; ... 0.30901699437495 - 0.95105651629515i; ... 1; ... 0.30901699437495 + 0.95105651629515i; ... -0.80901699437495 + 0.58778525229247i]; assert(r(is),rise,100*eps); assert(p(is),pise,100*eps); assert(f,[],100*eps); assert(m,[1;1;1;1;1],100*eps); 9 tests, 9 passed, 0 known failure, 0 skipped [inst/rectpuls.m] >>>>> /<>/inst/rectpuls.m ***** demo fs = 11025; # arbitrary sample rate f0 = 100; # pulse train sample rate w = 0.3/f0; # pulse width 1/10th the distance between pulses x = pulstran (0:1/fs:4/f0, 0:1/f0:4/f0, "rectpuls", w); plot ([0:length(x)-1]*1000/fs, x); xlabel ("Time (ms)"); ylabel ("Amplitude"); title ("Rectangular pulse train of 3 ms pulses at 10 ms intervals"); ***** assert (rectpuls ([]), []) ***** assert (rectpuls ([], 0.1), []) ***** assert (rectpuls (zeros (10, 1)), ones (10, 1)) ***** assert (rectpuls (-1:1), [0, 1, 0]) ***** assert (rectpuls (-5:5, 9), [0, ones(1,9), 0]) ***** assert (rectpuls (0:1/100:0.3, 0.1), rectpuls ([0:1/100:0.3]', 0.1)') ***** error rectpuls () ***** error rectpuls (1, 2, 3) ***** error rectpuls (1, 2j) 9 tests, 9 passed, 0 known failure, 0 skipped [inst/rssq.m] >>>>> /<>/inst/rssq.m ***** assert (rssq ([]), 0) ***** assert (rssq ([1 2 -1]), sqrt (6)) ***** assert (rssq ([1 2 -1]'), sqrt (6)) ***** assert (rssq ([1 2], 3), [1 2]) ***** error rssq () ***** error rssq (1, 2, 3) ***** error rssq (1, 1.5) ***** error rssq (1, -1) 8 tests, 8 passed, 0 known failure, 0 skipped [inst/butter.m] >>>>> /<>/inst/butter.m ***** shared sf, sf2, off_db off_db = 0.5; ## Sampling frequency must be that high to make the low pass filters pass. sf = 6000; sf2 = sf/2; data=[sinetone(5,sf,10,1),sinetone(10,sf,10,1),sinetone(50,sf,10,1),sinetone(200,sf,10,1),sinetone(400,sf,10,1)]; ***** test ## Test low pass order 1 with 3dB @ 50Hz data=[sinetone(5,sf,10,1),sinetone(10,sf,10,1),sinetone(50,sf,10,1),sinetone(200,sf,10,1),sinetone(400,sf,10,1)]; [b, a] = butter ( 1, 50 / sf2 ); filtered = filter ( b, a, data ); damp_db = 20 * log10 ( max ( filtered ( end - sf : end, : ) ) ); assert ( [ damp_db( 4 ) - damp_db( 5 ), damp_db( 1 : 3 ) ], [ 6 0 0 -3 ], off_db ) ***** test ## Test low pass order 4 with 3dB @ 50Hz data=[sinetone(5,sf,10,1),sinetone(10,sf,10,1),sinetone(50,sf,10,1),sinetone(200,sf,10,1),sinetone(400,sf,10,1)]; [b, a] = butter ( 4, 50 / sf2 ); filtered = filter ( b, a, data ); damp_db = 20 * log10 ( max ( filtered ( end - sf : end, : ) ) ); assert ( [ damp_db( 4 ) - damp_db( 5 ), damp_db( 1 : 3 ) ], [ 24 0 0 -3 ], off_db ) ***** test ## Test high pass order 1 with 3dB @ 50Hz data=[sinetone(5,sf,10,1),sinetone(10,sf,10,1),sinetone(50,sf,10,1),sinetone(200,sf,10,1),sinetone(400,sf,10,1)]; [b, a] = butter ( 1, 50 / sf2, "high" ); filtered = filter ( b, a, data ); damp_db = 20 * log10 ( max ( filtered ( end - sf : end, : ) ) ); assert ( [ damp_db( 2 ) - damp_db( 1 ), damp_db( 3 : end ) ], [ 6 -3 0 0 ], off_db ) ***** test ## Test high pass order 4 with 3dB @ 50Hz data=[sinetone(5,sf,10,1),sinetone(10,sf,10,1),sinetone(50,sf,10,1),sinetone(200,sf,10,1),sinetone(400,sf,10,1)]; [b, a] = butter ( 4, 50 / sf2, "high" ); filtered = filter ( b, a, data ); damp_db = 20 * log10 ( max ( filtered ( end - sf : end, : ) ) ); assert ( [ damp_db( 2 ) - damp_db( 1 ), damp_db( 3 : end ) ], [ 24 -3 0 0 ], off_db ) ***** error [a, b] = butter () ***** error [a, b] = butter (1) ***** error [a, b] = butter (1, 2, 3, 4, 5) ***** error [a, b] = butter (.5, .2) ***** error [a, b] = butter (3, .2, "invalid") ***** error [a, b] = butter (9, .6, "stop") ***** error [a, b] = butter (9, .6, "bandpass") ***** error [a, b] = butter (9, .6, "s", "high") ***** test butter (9, .6); assert (isrow (ans)); ***** test A = butter (9, .6); assert (isrow (A)); ***** test [A, B] = butter (9, .6); assert (isrow (A)); assert (isrow (B)); ***** test [z, p, g] = butter (9, .6); assert (iscolumn (z)); assert (iscolumn (p)); assert (isscalar (g)); ***** test [a, b, c, d] = butter (9, .6); assert (ismatrix (a)); assert (iscolumn (b)); assert (isrow (c)); assert (isscalar (d)); ***** demo sf = 800; sf2 = sf/2; data=[[1;zeros(sf-1,1)],sinetone(25,sf,1,1),sinetone(50,sf,1,1),sinetone(100,sf,1,1)]; [b,a]=butter ( 1, 50 / sf2 ); filtered = filter(b,a,data); clf subplot ( columns ( filtered ), 1, 1) plot(filtered(:,1),";Impulse response;") subplot ( columns ( filtered ), 1, 2 ) plot(filtered(:,2),";25Hz response;") subplot ( columns ( filtered ), 1, 3 ) plot(filtered(:,3),";50Hz response;") subplot ( columns ( filtered ), 1, 4 ) plot(filtered(:,4),";100Hz response;") 17 tests, 17 passed, 0 known failure, 0 skipped [inst/gauspuls.m] >>>>> /<>/inst/gauspuls.m ***** demo fs = 11025; # arbitrary sample rate f0 = 100; # pulse train sample rate x = pulstran (0:1/fs:4/f0, 0:1/f0:4/f0, "gauspuls"); plot ([0:length(x)-1]*1000/fs, x); xlabel ("Time (ms)"); ylabel ("Amplitude"); title ("Gaussian pulse train at 10 ms intervals"); ***** assert (gauspuls ([]), []) ***** assert (gauspuls (zeros (10, 1)), ones (10, 1)) ***** assert (gauspuls (-1:1), [0, 1, 0]) ***** assert (gauspuls (0:1/100:0.3, 0.1), gauspuls ([0:1/100:0.3]', 0.1)') ***** error gauspuls () ***** error gauspuls (1, 2, 3, 4) ***** error gauspuls (1, -1) ***** error gauspuls (1, 2j) ***** error gauspuls (1, 1e3, 0) 9 tests, 9 passed, 0 known failure, 0 skipped [inst/pulstran.m] >>>>> /<>/inst/pulstran.m ***** error pulstran ***** error pulstran(1,2,3,4,5,6) ***** ## parameter size and shape checking ***** shared t,d t = 0:0.01:1; d=0:0.1:1; ***** assert (isempty(pulstran([], d, 'sin'))); ***** assert (pulstran(t, [], 'sin'), zeros(size(t))); ***** assert (isempty(pulstran([], d, boxcar(5)))); ***** assert (pulstran(t, [], boxcar(5)), zeros(size(t))); ***** assert (size(pulstran(t,d,'sin')), size(t)); ***** assert (size(pulstran(t,d','sin')), size(t)); ***** assert (size(pulstran(t',d,'sin')), size(t')); ***** assert (size(pulstran(t,d','sin')), size(t)); ***** demo fs = 11025; # arbitrary sample rate f0 = 100; # pulse train sample rate w = 0.003; # pulse width of 3 milliseconds t = 0:1/fs:0.1; d=0:1/f0:0.1; # define sample times and pulse times a = hanning(length(d)); # define pulse amplitudes subplot(221); x = pulstran(t', d', 'rectpuls', w); plot([0:length(x)-1]*1000/fs, x); hold on; plot(d*1000,ones(size(d)),'g*;pulse;'); hold off; ylabel("amplitude"); xlabel("time (ms)"); title("rectpuls"); subplot(223); x = pulstran(f0*t, [f0*d', a], 'sinc'); plot([0:length(x)-1]*1000/fs, x); hold on; plot(d*1000,a,'g*;pulse;'); hold off; ylabel("amplitude"); xlabel("time (ms)"); title("sinc => band limited interpolation"); subplot(222); pulse = boxcar(30); # pulse width of 3 ms at 10 kHz x = pulstran(t, d', pulse, 10000); plot([0:length(x)-1]*1000/fs, x); hold on; plot(d*1000,ones(size(d)),'g*;pulse;'); hold off; ylabel("amplitude"); xlabel("time (ms)"); title("interpolated boxcar"); subplot(224); pulse = sin(2*pi*[0:0.0001:w]/w).*[w:-0.0001:0]; x = pulstran(t', [d', a], pulse', 10000); plot([0:length(x)-1]*1000/fs, x); hold on; plot(d*1000,a*w,'g*;pulse;'); hold off; title(""); ylabel("amplitude"); xlabel("time (ms)"); title("interpolated asymmetric sin"); %---------------------------------------------------------- % Should see (1) rectangular pulses centered on *, % (2) rectangular pulses to the right of *, % (3) smooth interpolation between the *'s, and % (4) asymmetric sines to the right of * 10 tests, 10 passed, 0 known failure, 0 skipped [inst/downsample.m] >>>>> /<>/inst/downsample.m ***** assert(downsample([1,2,3,4,5],2),[1,3,5]); ***** assert(downsample([1;2;3;4;5],2),[1;3;5]); ***** assert(downsample([1,2;3,4;5,6;7,8;9,10],2),[1,2;5,6;9,10]); ***** assert(downsample([1,2,3,4,5],2,1),[2,4]); ***** assert(downsample([1,2;3,4;5,6;7,8;9,10],2,1),[3,4;7,8]); 5 tests, 5 passed, 0 known failure, 0 skipped [inst/chebwin.m] >>>>> /<>/inst/chebwin.m ***** assert (chebwin (1), 1) ***** assert (chebwin (2), ones (2, 1)) ***** error chebwin () ***** error chebwin (0.5) ***** error chebwin (-1) ***** error chebwin (ones (1, 4)) ***** error chebwin (1, 2, 3) 7 tests, 7 passed, 0 known failure, 0 skipped [inst/gaussian.m] >>>>> /<>/inst/gaussian.m ***** assert (gaussian (1), 1) ***** error gaussian () ***** error gaussian (0.5) ***** error gaussian (-1) ***** error gaussian (ones (1, 4)) ***** error gaussian (1, 2, 3) 6 tests, 6 passed, 0 known failure, 0 skipped [inst/tf2sos.m] >>>>> /<>/inst/tf2sos.m ***** test B=[1 0 0 0 0 1]; A=[1 0 0 0 0 .9]; [sos,g] = tf2sos(B,A); [Bh,Ah] = sos2tf(sos,g); assert({Bh,Ah},{B,A},100*eps); 1 test, 1 passed, 0 known failure, 0 skipped [inst/dst.m] >>>>> /<>/inst/dst.m ***** test x = log(linspace(0.1,1,32)); y = dst(x); assert(y(3), sum(x.*sin(3*pi*[1:32]/33)), 100*eps) 1 test, 1 passed, 0 known failure, 0 skipped [inst/residued.m] >>>>> /<>/inst/residued.m ***** test B=1; A=[1 -1]; [r,p,f,m] = residued(B,A); assert({r,p,f,m},{1,1,[],1},100*eps); [r2,p2,f2,m2] = residuez(B,A); assert({r,p,f,m},{r2,p2,f2,m2},100*eps); ***** test B=[1 -2 1]; A=[1 -1]; [r,p,f,m] = residued(B,A); assert({r,p,f,m},{0,1,[1 -1],1},100*eps); ***** test B=[1 -2 1]; A=[1 -0.5]; [r,p,f,m] = residued(B,A); assert({r,p,f,m},{0.25,0.5,[1 -1.5],1},100*eps); ***** test B=1; A=[1 -0.75 0.125]; [r,p,f,m] = residued(B,A); [r2,p2,f2,m2] = residuez(B,A); assert({r,p,f,m},{r2,p2,f2,m2},100*eps); ***** test B=1; A=[1 -2 1]; [r,p,f,m] = residued(B,A); [r2,p2,f2,m2] = residuez(B,A); assert({r,p,f,m},{r2,p2,f2,m2},100*eps); ***** test B=[6,2]; A=[1 -2 1]; [r,p,f,m] = residued(B,A); [r2,p2,f2,m2] = residuez(B,A); assert({r,p,f,m},{r2,p2,f2,m2},100*eps); ***** test B=[1 1 1]; A=[1 -2 1]; [r,p,f,m] = residued(B,A); assert(r,[0;3],1e-7); assert(p,[1;1],1e-8); assert(f,1,100*eps); assert(m,[1;2],100*eps); ***** test B=[2 6 6 2]; A=[1 -2 1]; [r,p,f,m] = residued(B,A); assert(r,[8;16],3e-7); assert(p,[1;1],1e-8); assert(f,[2,10],100*eps); assert(m,[1;2],100*eps); ***** test B=[1,6,2]; A=[1 -2 1]; [r,p,f,m] = residued(B,A); assert(r,[-1;9],3e-7); assert(p,[1;1],1e-8); assert(f,1,100*eps); assert(m,[1;2],100*eps); ***** test B=[1 0 0 0 1]; A=[1 0 0 0 -1]; [r,p,f,m] = residued(B,A); [~,is] = sort(angle(p)); assert(r(is),[-1/2;-j/2;1/2;j/2],100*eps); assert(p(is),[-1;-j;1;j],100*eps); assert(f,1,100*eps); assert(m,[1;1;1;1],100*eps); 10 tests, 10 passed, 0 known failure, 0 skipped [inst/ellipord.m] >>>>> /<>/inst/ellipord.m ***** demo fs = 44100; Npts = fs; fpass = 4000; fstop = 13713; Rpass = 3; Rstop = 40; Wpass = 2/fs * fpass; Wstop = 2/fs * fstop; [n, Wn] = ellipord (Wpass, Wstop, Rpass, Rstop) [b, a] = ellip (n, Rpass, Rstop, Wn); f = 0:fs/2; W = f * (2 * pi / fs); H = freqz (b, a, W); plot (f, 20 * log10 (abs (H))); outline_lp_pass_x = [f(2) , fpass(1), fpass(1)]; outline_lp_pass_y = [-Rpass, -Rpass , -80]; outline_lp_stop_x = [f(2) , fstop(1), fstop(1), max(f)]; outline_lp_stop_y = [0 , 0 , -Rstop , -Rstop]; hold on plot (outline_lp_pass_x, outline_lp_pass_y, "m", outline_lp_stop_x, outline_lp_stop_y, "m"); ylim ([-80, 0]); grid on xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); title ("2nd order digital elliptical low-pass (without margin)"); ***** demo fs = 44100; Npts = fs; fpass = 4000; fstop = 13712; Rpass = 3; Rstop = 40; Wpass = 2/fs * fpass; Wstop = 2/fs * fstop; [n, Wn] = ellipord (Wpass, Wstop, Rpass, Rstop) [b, a] = ellip (n, Rpass, Rstop, Wn); f = 0:fs/2; W = f * (2 * pi / fs); H = freqz (b, a, W); plot (f, 20 * log10 (abs (H))); outline_lp_pass_x = [f(2) , fpass(1), fpass(1)]; outline_lp_pass_y = [-Rpass, -Rpass , -80]; outline_lp_stop_x = [f(2) , fstop(1), fstop(1), max(f)]; outline_lp_stop_y = [0 , 0 , -Rstop , -Rstop]; hold on plot (outline_lp_pass_x, outline_lp_pass_y, "m", outline_lp_stop_x, outline_lp_stop_y, "m"); ylim ([-80, 0]); grid on xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); title ("3rd order digital elliptical low-pass (just exceeds 2nd order i.e. large margin)"); ***** demo fs = 44100; Npts = fs; fstop = 4000; fpass = 13713; Rpass = 3; Rstop = 40; Wpass = 2/fs * fpass; Wstop = 2/fs * fstop; [n, Wn] = ellipord (Wpass, Wstop, Rpass, Rstop) [b, a] = ellip (n, Rpass, Rstop, Wn, "high"); f = 0:fs/2; W = f * (2 * pi / fs); H = freqz (b, a, W); plot (f, 20 * log10 (abs (H))); outline_hp_pass_x = [fpass(1), fpass(1), max(f)]; outline_hp_pass_y = [-80 , -Rpass , -Rpass]; outline_hp_stop_x = [min(f) , fstop(1), fstop(1), max(f)]; outline_hp_stop_y = [-Rstop , -Rstop , 0 , 0 ]; hold on plot (outline_hp_pass_x, outline_hp_pass_y, "m", outline_hp_stop_x, outline_hp_stop_y, "m"); ylim ([-80, 0]); grid on xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); title ("2nd order digital elliptical high-pass (without margin)"); ***** demo fs = 44100; Npts = fs; fstop = 4000; fpass = 13712; Rpass = 3; Rstop = 40; Wpass = 2/fs * fpass; Wstop = 2/fs * fstop; [n, Wn] = ellipord (Wpass, Wstop, Rpass, Rstop) [b, a] = ellip (n, Rpass, Rstop, Wn, "high"); f = 0:fs/2; W = f * (2 * pi / fs); H = freqz (b, a, W); plot (f, 20 * log10 (abs (H))); outline_hp_pass_x = [fpass(1), fpass(1), max(f)]; outline_hp_pass_y = [-80 , -Rpass , -Rpass]; outline_hp_stop_x = [min(f) , fstop(1), fstop(1), max(f)]; outline_hp_stop_y = [-Rstop , -Rstop , 0 , 0 ]; hold on plot (outline_hp_pass_x, outline_hp_pass_y, "m", outline_hp_stop_x, outline_hp_stop_y, "m"); ylim ([-80, 0]); grid on xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); title ("3rd order digital elliptical high-pass (just exceeds 2nd order i.e. large margin)"); ***** demo fs = 44100; Npts = fs; fpass = [9500 9750]; fstop = [8500 10261]; Rpass = 3; Rstop = 40; Wpass = 2/fs * fpass; Wstop = 2/fs * fstop; [n, Wn] = ellipord (Wpass, Wstop, Rpass, Rstop) [b, a] = ellip (n, Rpass, Rstop, Wn); f = 5000:15000; W = f * (2 * pi / fs); H = freqz (b, a, W); plot (f, 20 * log10 (abs (H))) outline_bp_pass_x = [fpass(1), fpass(1), fpass(2), fpass(2)]; outline_bp_pass_y = [-80 , -Rpass , -Rpass , -80]; outline_bp_stop_x = [min(f) , fstop(1), fstop(1), fstop(2), fstop(2), max(f)]; outline_bp_stop_y = [-Rstop , -Rstop , 0 , 0 , -Rstop , -Rstop]; hold on plot (outline_bp_pass_x, outline_bp_pass_y, "m", outline_bp_stop_x, outline_bp_stop_y, "m") xlim ([f(1), f(end)]); ylim ([-80, 0]); grid on xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); title ("4th order digital elliptical band-pass (without margin) limitation on upper freq"); ***** demo fs = 44100; Npts = fs; fpass = [9500 9750]; fstop = [9000 10700]; Rpass = 3; Rstop = 40; Wpass = 2/fs * fpass; Wstop = 2/fs * fstop; [n, Wn] = ellipord (Wpass, Wstop, Rpass, Rstop) [b, a] = ellip (n, Rpass, Rstop, Wn); f = 5000:15000; W = f * (2 * pi / fs); H = freqz (b, a, W); plot (f, 20 * log10 (abs (H))) outline_bp_pass_x = [fpass(1), fpass(1), fpass(2), fpass(2)]; outline_bp_pass_y = [-80 , -Rpass , -Rpass , -80]; outline_bp_stop_x = [min(f) , fstop(1), fstop(1), fstop(2), fstop(2), max(f)]; outline_bp_stop_y = [-Rstop , -Rstop , 0 , 0 , -Rstop , -Rstop]; hold on plot (outline_bp_pass_x, outline_bp_pass_y, "m", outline_bp_stop_x, outline_bp_stop_y, "m") xlim ([f(1), f(end)]); ylim ([-80, 0]); grid on xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); title ("4th order digital elliptical band-pass (without margin) limitation on lower freq"); ***** demo fs = 44100; Npts = fs; fpass = [9500 9750]; fstop = [8500 10260]; Rpass = 3; Rstop = 40; Wpass = 2/fs * fpass; Wstop = 2/fs * fstop; [n, Wn] = ellipord (Wpass, Wstop, Rpass, Rstop) [b, a] = ellip (n, Rpass, Rstop, Wn); f = 5000:15000; W = f * (2 * pi / fs); H = freqz (b, a, W); plot (f, 20 * log10 (abs (H))) outline_bp_pass_x = [fpass(1), fpass(1), fpass(2), fpass(2)]; outline_bp_pass_y = [-80 , -Rpass , -Rpass , -80]; outline_bp_stop_x = [min(f) , fstop(1), fstop(1), fstop(2), fstop(2), max(f)]; outline_bp_stop_y = [-Rstop , -Rstop , 0 , 0 , -Rstop , -Rstop]; hold on plot (outline_bp_pass_x, outline_bp_pass_y, "m", outline_bp_stop_x, outline_bp_stop_y, "m") xlim ([f(1), f(end)]); ylim ([-80, 0]); grid on xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); title ("6th order digital elliptical band-pass (just exceeds 4th order i.e. large margin) limitation on upper freq"); ***** demo fs = 44100; Npts = fs; fpass = [9500 9750]; fstop = [9001 10700]; Rpass = 3; Rstop = 40; Wpass = 2/fs * fpass; Wstop = 2/fs * fstop; [n, Wn] = ellipord (Wpass, Wstop, Rpass, Rstop) [b, a] = ellip (n, Rpass, Rstop, Wn); f = 5000:15000; W = f * (2 * pi / fs); H = freqz (b, a, W); plot (f, 20 * log10 (abs (H))) outline_bp_pass_x = [fpass(1), fpass(1), fpass(2), fpass(2)]; outline_bp_pass_y = [-80 , -Rpass , -Rpass , -80]; outline_bp_stop_x = [min(f) , fstop(1), fstop(1), fstop(2), fstop(2), max(f)]; outline_bp_stop_y = [-Rstop , -Rstop , 0 , 0 , -Rstop , -Rstop]; hold on plot (outline_bp_pass_x, outline_bp_pass_y, "m", outline_bp_stop_x, outline_bp_stop_y, "m") xlim ([f(1), f(end)]); ylim ([-80, 0]); grid on xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); title ("6th order digital elliptical band-pass (just exceeds 4th order i.e. large margin) limitation on lower freq"); ***** demo fs = 44100; Npts = fs; fstop = [9875 10126.5823]; fpass = [8500 11073]; Rpass = 0.5; Rstop = 40; Wpass = 2/fs * fpass; Wstop = 2/fs * fstop; [n, Wn] = ellipord (Wpass, Wstop, Rpass, Rstop) [b, a] = ellip (n, Rpass, Rstop, Wn, "stop"); f = 5000:15000; W = f * (2 * pi / fs); H = freqz (b, a, W); plot (f, 20 * log10 (abs (H))) outline_notch_pass_x_a = [min(f) , fpass(1), fpass(1)]; outline_notch_pass_x_b = [fpass(2), fpass(2), max(f)]; outline_notch_pass_y_a = [-Rpass , -Rpass , -80]; outline_notch_pass_y_b = [-80 , -Rpass , -Rpass]; outline_notch_stop_x = [min(f) , fstop(1), fstop(1), fstop(2), fstop(2), max(f)]; outline_notch_stop_y = [0 , 0 , -Rstop , -Rstop , 0 , 0 ]; hold on plot (outline_notch_pass_x_a, outline_notch_pass_y_a, "m", outline_notch_pass_x_b, outline_notch_pass_y_b, "m", outline_notch_stop_x, outline_notch_stop_y, "m") xlim ([f(1), f(end)]); ylim ([-80, 0]); grid on xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); title ("4th order digital elliptical notch (without margin) limit on upper freq"); ***** demo fs = 44100; Npts = fs; fstop = [9875 10126.5823]; fpass = [8952 12000]; Rpass = 0.5; Rstop = 40; Wpass = 2/fs * fpass; Wstop = 2/fs * fstop; [n, Wn] = ellipord (Wpass, Wstop, Rpass, Rstop) [b, a] = ellip (n, Rpass, Rstop, Wn, "stop"); f = 5000:15000; W = f * (2 * pi / fs); H = freqz (b, a, W); plot (f, 20 * log10 (abs (H))) outline_notch_pass_x_a = [min(f) , fpass(1), fpass(1)]; outline_notch_pass_x_b = [fpass(2), fpass(2), max(f)]; outline_notch_pass_y_a = [-Rpass , -Rpass , -80]; outline_notch_pass_y_b = [-80 , -Rpass , -Rpass]; outline_notch_stop_x = [min(f) , fstop(1), fstop(1), fstop(2), fstop(2), max(f)]; outline_notch_stop_y = [0 , 0 , -Rstop , -Rstop , 0 , 0 ]; hold on plot (outline_notch_pass_x_a, outline_notch_pass_y_a, "m", outline_notch_pass_x_b, outline_notch_pass_y_b, "m", outline_notch_stop_x, outline_notch_stop_y, "m") xlim ([f(1), f(end)]); ylim ([-80, 0]); grid on xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); title ("4th order digital elliptical notch (without margin) limit on lower freq"); ***** demo fs = 44100; Npts = fs; fstop = [9875 10126.5823]; fpass = [8500 11072]; Rpass = 0.5; Rstop = 40; Wpass = 2/fs * fpass; Wstop = 2/fs * fstop; [n, Wn] = ellipord (Wpass, Wstop, Rpass, Rstop) [b, a] = ellip (n, Rpass, Rstop, Wn, "stop"); f = 5000:15000; W = f * (2 * pi / fs); H = freqz (b, a, W); plot (f, 20 * log10 (abs (H))) outline_notch_pass_x_a = [min(f) , fpass(1), fpass(1)]; outline_notch_pass_x_b = [fpass(2), fpass(2), max(f)]; outline_notch_pass_y_a = [-Rpass , -Rpass , -80]; outline_notch_pass_y_b = [-80 , -Rpass , -Rpass]; outline_notch_stop_x = [min(f) , fstop(1), fstop(1), fstop(2), fstop(2), max(f)]; outline_notch_stop_y = [0 , 0 , -Rstop , -Rstop , 0 , 0 ]; hold on plot (outline_notch_pass_x_a, outline_notch_pass_y_a, "m", outline_notch_pass_x_b, outline_notch_pass_y_b, "m", outline_notch_stop_x, outline_notch_stop_y, "m") xlim ([f(1), f(end)]); ylim ([-80, 0]); grid on xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); title ("6th order digital elliptical notch (just exceeds 4th order) limit on upper freq"); ***** demo fs = 44100; Npts = fs; fstop = [9875 10126.5823]; fpass = [8953 12000]; Rpass = 0.5; Rstop = 40; Wpass = 2/fs * fpass; Wstop = 2/fs * fstop; [n, Wn] = ellipord (Wpass, Wstop, Rpass, Rstop) [b, a] = ellip (n, Rpass, Rstop, Wn, "stop"); f = 5000:15000; W = f * (2 * pi / fs); H = freqz (b, a, W); plot (f, 20 * log10 (abs (H))) outline_notch_pass_x_a = [min(f) , fpass(1), fpass(1)]; outline_notch_pass_x_b = [fpass(2), fpass(2), max(f)]; outline_notch_pass_y_a = [-Rpass , -Rpass , -80]; outline_notch_pass_y_b = [-80 , -Rpass , -Rpass]; outline_notch_stop_x = [min(f) , fstop(1), fstop(1), fstop(2), fstop(2), max(f)]; outline_notch_stop_y = [0 , 0 , -Rstop , -Rstop , 0 , 0 ]; hold on plot (outline_notch_pass_x_a, outline_notch_pass_y_a, "m", outline_notch_pass_x_b, outline_notch_pass_y_b, "m", outline_notch_stop_x, outline_notch_stop_y, "m") xlim ([f(1), f(end)]); ylim ([-80, 0]); grid on xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); title ("6th order digital elliptical notch (just exceeds 4th order) limit on lower freq"); ***** demo fpass = 4000; fstop = 20224; Rpass = 3; Rstop = 40; Wpass = 2*pi * fpass; Wstop = 2*pi * fstop; [n, Wn] = ellipord (Wpass, Wstop, Rpass, Rstop, "s") [b, a] = ellip (n, Rpass, Rstop, Wn, "s"); f = 1000:10:100000; W = 2*pi * f; H = freqs (b, a, W); semilogx(f, 20 * log10 (abs (H))) outline_lp_pass_x = [f(2) , fpass(1), fpass(1)]; outline_lp_pass_y = [-Rpass, -Rpass , -80]; outline_lp_stop_x = [f(2) , fstop(1), fstop(1), max(f)]; outline_lp_stop_y = [0 , 0 , -Rstop , -Rstop]; hold on plot (outline_lp_pass_x, outline_lp_pass_y, "m", outline_lp_stop_x, outline_lp_stop_y, "m") ylim ([-80, 0]); grid on xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); title ("2nd order analog elliptical low-pass (without margin)"); ***** demo fpass = 4000; fstop = 20223; Rpass = 3; Rstop = 40; Wpass = 2*pi * fpass; Wstop = 2*pi * fstop; [n, Wn] = ellipord (Wpass, Wstop, Rpass, Rstop, "s") [b, a] = ellip (n, Rpass, Rstop, Wn, "s"); f = 1000:10:100000; W = 2*pi * f; H = freqs (b, a, W); semilogx (f, 20 * log10 (abs (H))) outline_lp_pass_x = [f(2) , fpass(1), fpass(1)]; outline_lp_pass_y = [-Rpass, -Rpass , -80]; outline_lp_stop_x = [f(2) , fstop(1), fstop(1), max(f)]; outline_lp_stop_y = [0 , 0 , -Rstop , -Rstop]; hold on plot (outline_lp_pass_x, outline_lp_pass_y, "m", outline_lp_stop_x, outline_lp_stop_y, "m") ylim ([-80, 0]); grid on xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); title ("3rd order analog elliptical low-pass (just exceeds 2nd order i.e. large margin)"); ***** demo fstop = 4000; fpass = 20224; Rpass = 3; Rstop = 40; Wpass = 2*pi * fpass; Wstop = 2*pi * fstop; [n, Wn] = ellipord (Wpass, Wstop, Rpass, Rstop, "s") [b, a] = ellip (n, Rpass, Rstop, Wn, "high", "s"); f = 1000:10:100000; W = 2*pi * f; H = freqs (b, a, W); semilogx (f, 20 * log10 (abs (H))) outline_hp_pass_x = [fpass(1), fpass(1), max(f)]; outline_hp_pass_y = [-80 , -Rpass , -Rpass]; outline_hp_stop_x = [f(2) , fstop(1), fstop(1), max(f)]; outline_hp_stop_y = [-Rstop , -Rstop , 0 , 0 ]; hold on plot (outline_hp_pass_x, outline_hp_pass_y, "m", outline_hp_stop_x, outline_hp_stop_y, "m") ylim ([-80, 0]); grid on xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); title ("2nd order analog elliptical high-pass (without margin)"); ***** demo fstop = 4000; fpass = 20223; Rpass = 3; Rstop = 40; Wpass = 2*pi * fpass; Wstop = 2*pi * fstop; [n, Wn] = ellipord (Wpass, Wstop, Rpass, Rstop, "s") [b, a] = ellip (n, Rpass, Rstop, Wn, "high", "s"); f = 1000:10:100000; W = 2*pi * f; H = freqs (b, a, W); semilogx (f, 20 * log10 (abs (H))) outline_hp_pass_x = [fpass(1), fpass(1), max(f)]; outline_hp_pass_y = [-80 , -Rpass , -Rpass]; outline_hp_stop_x = [f(2) , fstop(1), fstop(1), max(f)]; outline_hp_stop_y = [-Rstop , -Rstop , 0 , 0 ]; hold on plot (outline_hp_pass_x, outline_hp_pass_y, "m", outline_hp_stop_x, outline_hp_stop_y, "m") ylim ([-80, 0]); grid on xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); title ("3rd order analog elliptical high-pass (just exceeds 2nd order i.e. large margin)"); ***** demo fpass = [9875 10126.5823]; fstop = [9000 10657]; Rpass = 3; Rstop = 40; fcenter = sqrt (fpass(1) * fpass(2)); Wpass = 2*pi * fpass; Wstop = 2*pi * fstop; [n, Wn] = ellipord (Wpass, Wstop, Rpass, Rstop, "s") [b, a] = ellip (n, Rpass, Rstop, Wn, "s"); f = 5000:15000; W = 2*pi * f; H = freqs (b, a, W); plot (f, 20 * log10 (abs (H))) outline_bp_pass_x = [fpass(1), fpass(1), fpass(2), fpass(2)]; outline_bp_pass_y = [-80 , -Rpass , -Rpass , -80]; outline_bp_stop_x = [f(2) , fstop(1), fstop(1), fstop(2), fstop(2), max(f)]; outline_bp_stop_y = [-Rstop , -Rstop , 0 , 0 , -Rstop , -Rstop]; hold on plot (outline_bp_pass_x, outline_bp_pass_y, "m", outline_bp_stop_x, outline_bp_stop_y, "m") xlim ([f(1), f(end)]); ylim ([-80, 0]); grid on xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); title ("4th order analog elliptical band-pass (without margin) limitation on upper freq"); ***** demo fpass = [9875 10126.5823]; fstop = [9384 12000]; Rpass = 3; Rstop = 40; fcenter = sqrt (fpass(1) * fpass(2)); Wpass = 2*pi * fpass; Wstop = 2*pi * fstop; [n, Wn] = ellipord (Wpass, Wstop, Rpass, Rstop, "s") [b, a] = ellip (n, Rpass, Rstop, Wn, "s"); f = 5000:15000; W = 2*pi * f; H = freqs (b, a, W); plot (f, 20 * log10 (abs (H))) outline_bp_pass_x = [fpass(1), fpass(1), fpass(2), fpass(2)]; outline_bp_pass_y = [-80 , -Rpass , -Rpass , -80]; outline_bp_stop_x = [f(2) , fstop(1), fstop(1), fstop(2), fstop(2), max(f)]; outline_bp_stop_y = [-Rstop , -Rstop , 0 , 0 , -Rstop , -Rstop]; hold on plot (outline_bp_pass_x, outline_bp_pass_y, "m", outline_bp_stop_x, outline_bp_stop_y, "m") xlim ([f(1), f(end)]); ylim ([-80, 0]); grid on xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); title ("4th order analog elliptical band-pass (without margin) limitation on lower freq"); ***** demo fpass = [9875 10126.5823]; fstop = [9000 10656]; Rpass = 3; Rstop = 40; fcenter = sqrt (fpass(1) * fpass(2)); Wpass = 2*pi * fpass; Wstop = 2*pi * fstop; [n, Wn] = ellipord (Wpass, Wstop, Rpass, Rstop, "s") [b, a] = ellip (n, Rpass, Rstop, Wn, "s"); f = 5000:15000; W = 2*pi * f; H = freqs (b, a, W); plot (f, 20 * log10 (abs (H))) outline_bp_pass_x = [fpass(1), fpass(1), fpass(2), fpass(2)]; outline_bp_pass_y = [-80 , -Rpass , -Rpass , -80]; outline_bp_stop_x = [f(2) , fstop(1), fstop(1), fstop(2), fstop(2), max(f)]; outline_bp_stop_y = [-Rstop , -Rstop , 0 , 0 , -Rstop , -Rstop]; hold on plot (outline_bp_pass_x, outline_bp_pass_y, "m", outline_bp_stop_x, outline_bp_stop_y, "m") xlim ([f(1), f(end)]); ylim ([-80, 0]); grid on xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); title ("6th order analog elliptical band-pass (just exceeds 4th order i.e. large margin) limitation on upper freq"); ***** demo fpass = [9875 10126.5823]; fstop = [9385 12000]; Rpass = 3; Rstop = 40; fcenter = sqrt (fpass(1) * fpass(2)); Wpass = 2*pi * fpass; Wstop = 2*pi * fstop; [n, Wn] = ellipord (Wpass, Wstop, Rpass, Rstop, "s") [b, a] = ellip (n, Rpass, Rstop, Wn, "s"); f = 5000:15000; W = 2*pi * f; H = freqs (b, a, W); plot (f, 20 * log10 (abs (H))) outline_bp_pass_x = [fpass(1), fpass(1), fpass(2), fpass(2)]; outline_bp_pass_y = [-80 , -Rpass , -Rpass , -80]; outline_bp_stop_x = [f(2) , fstop(1), fstop(1), fstop(2), fstop(2), max(f)]; outline_bp_stop_y = [-Rstop , -Rstop , 0 , 0 , -Rstop , -Rstop]; hold on plot (outline_bp_pass_x, outline_bp_pass_y, "m", outline_bp_stop_x, outline_bp_stop_y, "m") xlim ([f(1), f(end)]); ylim ([-80, 0]); grid on xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); title ("6th order analog elliptical band-pass (just exceeds 4th order i.e. large margin) limitation on lower freq"); ***** demo fstop = [9875 10126.5823]; fpass = [9000 10657]; Rpass = 3; Rstop = 40; fcenter = sqrt (fpass(1) * fpass(2)); Wpass = 2*pi * fpass; Wstop = 2*pi * fstop; [n, Wn] = ellipord (Wpass, Wstop, Rpass, Rstop, "s") [b, a] = ellip (n, Rpass, Rstop, Wn, "stop", "s"); f = 5000:15000; W = 2*pi * f; H = freqs (b, a, W); plot (f, 20 * log10 (abs (H))) outline_notch_pass_x_a = [f(2) , fpass(1), fpass(1)]; outline_notch_pass_x_b = [fpass(2), fpass(2), max(f)]; outline_notch_pass_y_a = [-Rpass , -Rpass , -80]; outline_notch_pass_y_b = [-80 , -Rpass , -Rpass]; outline_notch_stop_x = [f(2) , fstop(1), fstop(1), fstop(2), fstop(2), max(f)]; outline_notch_stop_y = [0 , 0 , -Rstop , -Rstop , 0 , 0 ]; hold on plot (outline_notch_pass_x_a, outline_notch_pass_y_a, "m", outline_notch_pass_x_b, outline_notch_pass_y_b, "m", outline_notch_stop_x, outline_notch_stop_y, "m") xlim ([f(1), f(end)]); ylim ([-80, 0]); grid on xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); title ("4th order analog elliptical notch (without margin) limit on upper freq"); ***** demo fstop = [9875 10126.5823]; fpass = [9384 12000]; Rpass = 3; Rstop = 40; fcenter = sqrt (fpass(1) * fpass(2)); Wpass = 2*pi * fpass; Wstop = 2*pi * fstop; [n, Wn] = ellipord (Wpass, Wstop, Rpass, Rstop, "s") [b, a] = ellip (n, Rpass, Rstop, Wn, "stop", "s"); f = 5000:15000; W = 2*pi * f; H = freqs (b, a, W); plot (f, 20 * log10 (abs (H))) outline_notch_pass_x_a = [f(2) , fpass(1), fpass(1)]; outline_notch_pass_x_b = [fpass(2), fpass(2), max(f)]; outline_notch_pass_y_a = [-Rpass , -Rpass , -80]; outline_notch_pass_y_b = [-80 , -Rpass , -Rpass]; outline_notch_stop_x = [f(2) , fstop(1), fstop(1), fstop(2), fstop(2), max(f)]; outline_notch_stop_y = [0 , 0 , -Rstop , -Rstop , 0 , 0 ]; hold on plot (outline_notch_pass_x_a, outline_notch_pass_y_a, "m", outline_notch_pass_x_b, outline_notch_pass_y_b, "m", outline_notch_stop_x, outline_notch_stop_y, "m") xlim ([f(1), f(end)]); ylim ([-80, 0]); grid on xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); title ("4th order analog elliptical notch (without margin) limit on lower freq"); ***** demo fstop = [9875 10126.5823]; fpass = [9000 10656]; Rpass = 3; Rstop = 40; fcenter = sqrt (fpass(1) * fpass(2)); Wpass = 2*pi * fpass; Wstop = 2*pi * fstop; [n, Wn] = ellipord (Wpass, Wstop, Rpass, Rstop, "s") [b, a] = ellip (n, Rpass, Rstop, Wn, "stop", "s"); f = 5000:15000; W = 2*pi * f; H = freqs (b, a, W); plot (f, 20 * log10 (abs (H))) outline_notch_pass_x_a = [f(2) , fpass(1), fpass(1)]; outline_notch_pass_x_b = [fpass(2), fpass(2), max(f)]; outline_notch_pass_y_a = [-Rpass , -Rpass , -80]; outline_notch_pass_y_b = [-80 , -Rpass , -Rpass]; outline_notch_stop_x = [f(2) , fstop(1), fstop(1), fstop(2), fstop(2), max(f)]; outline_notch_stop_y = [0 , 0 , -Rstop , -Rstop , 0 , 0 ]; hold on plot (outline_notch_pass_x_a, outline_notch_pass_y_a, "m", outline_notch_pass_x_b, outline_notch_pass_y_b, "m", outline_notch_stop_x, outline_notch_stop_y, "m") xlim ([f(1), f(end)]); ylim ([-80, 0]); grid on xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); title ("6th order analog elliptical notch (just exceeds 4th order) limit on upper freq"); ***** demo fstop = [9875 10126.5823]; fpass = [9385 12000]; Rpass = 3; Rstop = 40; fcenter = sqrt (fpass(1) * fpass(2)); Wpass = 2*pi * fpass; Wstop = 2*pi * fstop; [n, Wn] = ellipord (Wpass, Wstop, Rpass, Rstop, "s") [b, a] = ellip (n, Rpass, Rstop, Wn, "stop", "s"); f = 5000:15000; W = 2*pi * f; H = freqs (b, a, W); plot (f, 20 * log10 (abs (H))) outline_notch_pass_x_a = [f(2) , fpass(1), fpass(1)]; outline_notch_pass_x_b = [fpass(2), fpass(2), max(f)]; outline_notch_pass_y_a = [-Rpass , -Rpass , -80]; outline_notch_pass_y_b = [-80 , -Rpass , -Rpass]; outline_notch_stop_x = [f(2) , fstop(1), fstop(1), fstop(2), fstop(2), max(f)]; outline_notch_stop_y = [0 , 0 , -Rstop , -Rstop , 0 , 0 ]; hold on plot (outline_notch_pass_x_a, outline_notch_pass_y_a, "m", outline_notch_pass_x_b, outline_notch_pass_y_b, "m", outline_notch_stop_x, outline_notch_stop_y, "m") xlim ([f(1), f(end)]); ylim ([-80, 0]); grid on xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); title ("6th order analog elliptical notch (just exceeds 4th order) limit on lower freq"); ***** test # Analog band-pass [n, Wn] = ellipord (2 * pi * [9875, 10126.5823], ... 2 * pi * [9000, 10657], 3, 40, "s"); assert (n, 2); assert (round (Wn), [62046, 63627]); ***** test # Analog band-pass [n, Wn] = ellipord (2 * pi * [9875, 10126.5823], ... 2 * pi * [9384, 12000], 3, 40, "s"); assert (n, 2); assert (round (Wn), [62046, 63627]); ***** test # Analog band-pass [n, Wn] = ellipord (2 * pi * [9875, 10126.5823], ... 2 * pi * [9000, 10656], 3, 40, "s"); assert (n, 3); assert (round (Wn), [62046, 63627]); ***** test # Analog band-pass [n, Wn] = ellipord (2 * pi * [9875, 10126.5823], ... 2 * pi * [9385, 12000], 3, 40, "s"); assert (n, 3); assert (round (Wn), [62046, 63627]); ***** test # Analog high-pass [n, Wn] = ellipord (2 * pi * 20224, 2 * pi * 4000, 3, 40, "s"); assert (n, 2); assert (round (Wn), 127071); ***** test # Analog high-pass [n, Wn] = ellipord (2 * pi * 20223, 2 * pi * 4000, 3, 40, "s"); assert (n, 3); assert (round (Wn), 127065); ***** test # Analog low-pass [n, Wn] = ellipord (2 * pi * 4000, 2 * pi * 20224, 3, 40, "s"); assert (n, 2); assert (round (Wn), 25133); ***** test # Analog low-pass [n, Wn] = ellipord (2 * pi * 4000, 2 * pi * 20223, 3, 40, "s"); assert (n, 3); assert (round (Wn), 25133); ***** test # Analog notch (narrow band-stop) [n, Wn] = ellipord (2 * pi * [9000, 10657], ... 2 * pi * [9875, 10126.5823], 3, 40, "s"); assert (n, 2); assert (round (Wn), [58958, 66960]); ***** test # Analog notch (narrow band-stop) [n, Wn] = ellipord (2 * pi * [9384, 12000], ... 2 * pi * [9875, 10126.5823], 3, 40, "s"); assert (n, 2); assert (round (Wn), [58961 , 66956]); ***** test # Analog notch (narrow band-stop) [n, Wn] = ellipord (2 * pi * [9000, 10656], ... 2 * pi * [9875, 10126.5823], 3, 40, "s"); assert (n, 3); assert (round (Wn), [58964, 66954]); ***** test # Analog notch (narrow band-stop) [n, Wn] = ellipord (2 * pi * [9385, 12000], ... 2 * pi * [9875, 10126.5823], 3, 40, "s"); assert (n, 3); assert (round (Wn), [58968, 66949]); ***** test # Digital band-pass fs = 44100; [n, Wn] = ellipord (2 / fs * [9500, 9750], 2 / fs * [8500, 10261], 3, 40); Wn = Wn * fs / 2; assert (n, 2); assert (round (Wn), [9500, 9750]); ***** test # Digital band-pass fs = 44100; [n, Wn] = ellipord (2 / fs * [9500, 9750], 2 / fs * [9000, 10700], 3, 40); Wn = Wn * fs / 2; assert (n, 2); assert (round (Wn), [9500, 9750]); ***** test # Digital band-pass fs = 44100; [n, Wn] = ellipord (2 / fs * [9500, 9750], 2 / fs * [8500, 10260], 3, 40); Wn = Wn * fs / 2; assert (n, 3); assert (round (Wn), [9500, 9750]); ***** test # Digital band-pass fs = 44100; [n, Wn] = ellipord (2 / fs * [9500, 9750], 2 / fs * [9001, 10700], 3, 40); Wn = Wn * fs / 2; assert (n, 3); assert (round (Wn), [9500, 9750]); ***** test # Digital high-pass fs = 44100; [n, Wn] = ellipord (2 / fs * 13713, 2 / fs * 4000, 3, 40); Wn = Wn * fs / 2; assert (n, 2); assert (round (Wn), 13713); ***** test # Digital high-pass fs = 44100; [n, Wn] = ellipord (2 / fs * 13712, 2 / fs * 4000, 3, 40); Wn = Wn * fs / 2; assert (n, 3); assert (round (Wn), 13712); ***** test # Digital low-pass fs = 44100; [n, Wn] = ellipord (2 / fs * 4000, 2 / fs * 13713, 3, 40); Wn = Wn * fs / 2; assert (n, 2); assert (round (Wn), 4000); ***** test # Digital low-pass fs = 44100; [n, Wn] = ellipord (2 / fs * 4000, 2 / fs * 13712, 3, 40); Wn = Wn * fs / 2; assert (n, 3); assert (round (Wn), 4000); ***** test # Digital notch (narrow band-stop) fs = 44100; [n, Wn] = ellipord (2 / fs * [8500, 11073], 2 / fs * [9875, 10126.5823], 0.5, 40); Wn = Wn * fs / 2; assert (n, 2); assert (round (Wn), [8952, 11073]); ***** test # Digital notch (narrow band-stop) fs = 44100; [n, Wn] = ellipord (2 / fs * [8952, 12000], 2 / fs * [9875, 10126.5823], 0.5, 40); Wn = Wn * fs / 2; assert (n, 2); assert (round (Wn), [8952, 11073]); ***** test # Digital notch (narrow band-stop) fs = 44100; [n, Wn] = ellipord (2 / fs * [8500, 11072], 2 / fs * [9875, 10126.5823], 0.5, 40); Wn = Wn * fs / 2; assert (n, 3); assert (round (Wn), [8953, 11072]); ***** test # Digital notch (narrow band-stop) fs = 44100; [n, Wn] = ellipord (2 / fs * [8953, 12000], 2 / fs * [9875, 10126.5823], 0.5, 40); Wn = Wn * fs / 2; assert (n, 3); assert (round (Wn), [8953, 11072]); ***** error ellipord () ***** error ellipord (.1) ***** error ellipord (.1, .2) ***** error ellipord (.1, .2, 3) ***** error ellipord ([.1 .1], [.2 .2], 3, 4) ***** error ellipord ([.1 .2], [.5 .6], 3, 4) ***** error ellipord ([.1 .5], [.2 .6], 3, 4) 31 tests, 31 passed, 0 known failure, 0 skipped [inst/tripuls.m] >>>>> /<>/inst/tripuls.m ***** demo fs = 11025; # arbitrary sample rate f0 = 100; # pulse train sample rate w = 0.5/f0; # pulse width 1/10th the distance between pulses x = pulstran (0:1/fs:4/f0, 0:1/f0:4/f0, "tripuls", w); plot ([0:length(x)-1]*1000/fs, x); xlabel ("Time (ms)"); ylabel ("Amplitude"); title ("Triangular pulse train of 5 ms pulses at 10 ms intervals"); ***** demo fs = 11025; # arbitrary sample rate f0 = 100; # pulse train sample rate w = 0.5/f0; # pulse width 1/10th the distance between pulses x = pulstran (0:1/fs:4/f0, 0:1/f0:4/f0, "tripuls", w, -0.5); plot ([0:length(x)-1]*1000/fs, x); xlabel ("Time (ms)"); ylabel ("Amplitude"); title ("Triangular pulse train of 5 ms pulses at 10 ms intervals, skew = -0.5"); ***** assert (tripuls ([]), []) ***** assert (tripuls ([], 0.1), []) ***** assert (tripuls (zeros (10, 1)), ones (10, 1)) ***** assert (tripuls (-1:1), [0, 1, 0]) ***** assert (tripuls (-5:5, 9), [0, 1, 3, 5, 7, 9, 7, 5, 3, 1, 0] / 9) ***** assert (tripuls (0:1/100:0.3, 0.1), tripuls ([0:1/100:0.3]', 0.1)') ***** error tripuls () ***** error tripuls (1, 2, 3, 4) ***** error tripuls (1, 2j) ***** error tripuls (1, 2, 2) ***** error tripuls (1, 2, -2) 11 tests, 11 passed, 0 known failure, 0 skipped [inst/parzenwin.m] >>>>> /<>/inst/parzenwin.m ***** assert (parzenwin (1), 1) ***** assert (parzenwin (2), 0.25 * ones (2, 1)) ***** error parzenwin () ***** error parzenwin (0.5) ***** error parzenwin (-1) ***** error parzenwin (ones (1, 4)) ***** error parzenwin (1, 2) 7 tests, 7 passed, 0 known failure, 0 skipped [inst/ultrwin.m] >>>>> /<>/inst/ultrwin.m ***** test assert(ultrwin(100, 1, 1), ones(100, 1), 1e-14); ***** test L = 201; xmu = 1.01; m = L-1; for mu = -1.35:.3:1.35 x = xmu*cos([0:m]*pi/L); C(2,:) = 2*mu*x; C(1,:) = 1; for k = 2:m; C(k+1,:) = 2*(k+mu-1)/k*x.*C(k,:) - (k+2*mu-2)/k*C(k-1,:); end b = real(ifft(C(m+1,:))); b = b(m/2+2:L)/b(1); assert(ultrwin(L, mu, xmu, "x")', [b 1 fliplr(b)], 1e-12); end ***** test b = [ 5.7962919401511820e-03 1.6086991349967078e-02 3.6019014684117417e-02 6.8897525451558125e-02 1.1802364384553447e-01 1.8566749737411145e-01 2.7234740630826737e-01 3.7625460141456091e-01 4.9297108901880221e-01 6.1558961695849457e-01 7.3527571856983598e-01 8.4222550739092694e-01 9.2688779484512085e-01 9.8125497127708561e-01]'; [w xmu] = ultrwin(29, 0, 3); assert(w', [b 1 fliplr(b)], 1e-14); assert(xmu, 1.053578297819277, 1e-14); ***** test b = [ 2.9953636903962466e-02 7.6096450051659603e-02 1.5207129867916891e-01 2.5906995366355179e-01 3.9341065451220536e-01 5.4533014012036929e-01 6.9975915071207051e-01 8.3851052636906720e-01 9.4345733548690369e-01]'; assert(ultrwin(20, .5, 50, "a")', [b 1 1 fliplr(b)], 1e-14); ***** test b = [ 1.0159906492322712e-01 1.4456358609406283e-01 2.4781689516201011e-01 3.7237015168857646e-01 5.1296973026690407e-01 6.5799041448113671e-01 7.9299087042967320e-01 9.0299778924260576e-01 9.7496213649820296e-01]'; assert(ultrwin(19, -.4, 40, "l")', [b 1 fliplr(b)], 1e-14); ***** demo w=ultrwin(120, -1, 40, "l"); [W,f]=freqz(w); clf subplot(2,1,1); plot(f/pi, 20*log10(W/abs(W(1)))); grid; axis([0 1 -90 0]) subplot(2,1,2); plot(0:length(w)-1, w); grid %----------------------------------------------------------- % Figure shows an Ultraspherical window with MU=-1, LATT=40: % frequency domain above, time domain below. ***** demo c="krbm"; clf; subplot(2, 1, 1) for beta=2:5 w=ultrwin(80, -.5, beta); [W,f]=freqz(w); plot(f/pi, 20*log10(W/abs(W(1))), c(1+mod(beta, length(c)))); hold on end; grid; axis([0 1 -140 0]); hold off subplot(2, 1, 2); for n=2:10 w=ultrwin(n*20, 1, 3); [W,f]=freqz(w,1,2^11); plot(f/pi, 20*log10(W/abs(W(1))), c(1+mod(n, length(c)))); hold on end; grid; axis([0 .2 -100 0]); hold off %-------------------------------------------------- % Figure shows transfers of Ultraspherical windows: % above: varying BETA with fixed N & MU, % below: varying N with fixed MU & BETA. ***** demo c="krbm"; clf; subplot(2, 1, 1) for j=0:4 w=ultrwin(80, j*.6-1.2, 50, "a"); [W,f]=freqz(w); plot(f/pi, 20*log10(W/abs(W(1))), c(1+mod(j, length(c)))); hold on end; grid; axis([0 1 -100 0]); hold off subplot(2, 1, 2); for j=4:-1:0 w=ultrwin(80, j*.75-1.5, 50, "l"); [W,f]=freqz(w); plot(f/pi, 20*log10(W/abs(W(1))), c(1+mod(j, length(c)))); hold on end; grid; axis([0 1 -100 0]); hold off %-------------------------------------------------- % Figure shows transfers of Ultraspherical windows: % above: varying MU with fixed N & ATT, % below: varying MU with fixed N & LATT. ***** demo clf; a=[.8 2 -115 5]; fc=1.1/pi; l="labelxy"; for k=1:3; switch (k); case 1; w=kaiser(L=159, 7.91); case 2; w=ultrwin(L=165, 0, 2.73); case 3; w=ultrwin(L=153, .5, 2.6); end subplot(3, 1, 4-k); f=[1:(L-1)/2]*pi;f=sin(fc*f)./f; f=[fliplr(f) fc f]'; [h,f]=freqz(w.*f,1,2^14); plot(f,20*log10(h)); grid; axis(a,l); l="labely"; end %----------------------------------------------------------- % Figure shows example lowpass filter design (Fp=1, Fs=1.2 % rad/s, att=80 dB) and comparison with other windows. From % top to bottom: Ultraspherical, Dolph-Chebyshev, and Kaiser % windows, with lengths 153, 165, and 159 respectively. 5 tests, 5 passed, 0 known failure, 0 skipped [inst/idst.m] >>>>> /<>/inst/idst.m ***** test x = log(gausswin(32)); assert(x, idst(dst(x)), 100*eps) 1 test, 1 passed, 0 known failure, 0 skipped [inst/pei_tseng_notch.m] >>>>> /<>/inst/pei_tseng_notch.m ***** test ## 2Hz bandwidth sf = 800; sf2 = sf/2; data=[sinetone(49,sf,10,1),sinetone(50,sf,10,1),sinetone(51,sf,10,1)]; [b, a] = pei_tseng_notch ( 50 / sf2, 2 / sf2 ); filtered = filter ( b, a, data ); damp_db = 20 * log10 ( max ( filtered ( end - 1000 : end, : ) ) ); assert ( damp_db, [ -3 -251.9 -3 ], -0.1 ) ***** test ## 1Hz bandwidth sf = 800; sf2 = sf/2; data=[sinetone(49.5,sf,10,1),sinetone(50,sf,10,1),sinetone(50.5,sf,10,1)]; [b, a] = pei_tseng_notch ( 50 / sf2, 1 / sf2 ); filtered = filter ( b, a, data ); damp_db = 20 * log10 ( max ( filtered ( end - 1000 : end, : ) ) ); assert ( damp_db, [ -3 -240.4 -3 ], -0.1 ) ***** demo sf = 800; sf2 = sf/2; data=[[1;zeros(sf-1,1)],sinetone(49,sf,1,1),sinetone(50,sf,1,1),sinetone(51,sf,1,1)]; [b,a]=pei_tseng_notch ( 50 / sf2, 2/sf2 ); filtered = filter(b,a,data); clf subplot ( columns ( filtered ), 1, 1) plot(filtered(:,1),";Impulse response;") subplot ( columns ( filtered ), 1, 2 ) plot(filtered(:,2),";49Hz response;") subplot ( columns ( filtered ), 1, 3 ) plot(filtered(:,3),";50Hz response;") subplot ( columns ( filtered ), 1, 4 ) plot(filtered(:,4),";51Hz response;") 2 tests, 2 passed, 0 known failure, 0 skipped [inst/marcumq.m] >>>>> /<>/inst/marcumq.m ***** error marcumq (1) ***** error marcumq (-1, 1, 1, 1, 1) ***** error marcumq (-1, 1) ***** error marcumq (1, -1) ***** error marcumq (1, 1, 0) ***** error marcumq (1, 1, -1) ***** error marcumq (1, 1, 1.1) ***** test a = [0.00; 0.05; 1.00; 2.00; 3.00; 4.00; 5.00; 6.00; 7.00; 8.00; 9.00; 10.00; 11.00; 12.00; 13.00; 14.00; 15.00; 16.00; 17.00; 18.00; 19.00; 20.00; 21.00; 22.00; 23.00; 24.00]; b = [0.000000, 0.100000, 1.100000, 2.100000, 3.100000, 4.100000]; Q = [1.000000, 0.995012, 0.546074, 0.110251, 0.008189, 0.000224; 1.000000, 0.995019, 0.546487, 0.110554, 0.008238, 0.000226; 1.000000, 0.996971, 0.685377, 0.233113, 0.034727, 0.002092; 1.000000, 0.999322, 0.898073, 0.561704, 0.185328, 0.027068; 1.000000, 0.999944, 0.985457, 0.865241, 0.526735, 0.169515; 1.000000, 0.999998, 0.999136, 0.980933, 0.851679, 0.509876; 1.000000, 1.000000, 0.999979, 0.998864, 0.978683, 0.844038; 1.000000, 1.000000, 1.000000, 0.999973, 0.998715, 0.977300; 1.000000, 1.000000, 1.000000, 1.000000, 0.999969, 0.998618; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 0.999966; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000]; q = marcumq (a, b); assert (q, Q, 1e-6); ***** test a = [0.00; 0.05; 1.00; 2.00; 3.00; 4.00; 5.00; 6.00; 7.00; 8.00; 9.00; 10.00; 11.00; 12.00; 13.00; 14.00; 15.00; 16.00; 17.00; 18.00; 19.00; 20.00; 21.00; 22.00; 23.00; 24.00]; b = [5.100000, 6.100000, 7.100000, 8.100000, 9.100000, 10.10000]; Q = [0.000002, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000; 0.000002, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000; 0.000049, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000; 0.001606, 0.000037, 0.000000, 0.000000, 0.000000, 0.000000; 0.024285, 0.001420, 0.000032, 0.000000, 0.000000, 0.000000; 0.161412, 0.022812, 0.001319, 0.000030, 0.000000, 0.000000; 0.499869, 0.156458, 0.021893, 0.001256, 0.000028, 0.000000; 0.839108, 0.493229, 0.153110, 0.021264, 0.001212, 0.000027; 0.976358, 0.835657, 0.488497, 0.150693, 0.020806, 0.001180; 0.998549, 0.975673, 0.833104, 0.484953, 0.148867, 0.020458; 0.999965, 0.998498, 0.975152, 0.831138, 0.482198, 0.147437; 1.000000, 0.999963, 0.998458, 0.974742, 0.829576, 0.479995; 1.000000, 1.000000, 0.999962, 0.998426, 0.974411, 0.828307; 1.000000, 1.000000, 1.000000, 0.999961, 0.998400, 0.974138; 1.000000, 1.000000, 1.000000, 1.000000, 0.999960, 0.998378; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 0.999960; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000]; q = marcumq (a, b); assert (q, Q, 1e-6); ***** test a = [0.00; 0.05; 1.00; 2.00; 3.00; 4.00; 5.00; 6.00; 7.00; 8.00; 9.00; 10.00; 11.00; 12.00; 13.00; 14.00; 15.00; 16.00; 17.00; 18.00; 19.00; 20.00; 21.00; 22.00; 23.00; 24.00]; b = [11.10000, 12.10000, 13.10000, 14.10000, 15.10000, 16.10000]; Q = [0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000; 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000; 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000; 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000; 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000; 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000; 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000; 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000; 0.000026, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000; 0.001155, 0.000026, 0.000000, 0.000000, 0.000000, 0.000000; 0.020183, 0.001136, 0.000025, 0.000000, 0.000000, 0.000000; 0.146287, 0.019961, 0.001120, 0.000025, 0.000000, 0.000000; 0.478193, 0.145342, 0.019778, 0.001107, 0.000024, 0.000000; 0.827253, 0.476692, 0.144551, 0.019625, 0.001096, 0.000024; 0.973909, 0.826366, 0.475422, 0.143881, 0.019494, 0.001087; 0.998359, 0.973714, 0.825607, 0.474333, 0.143304, 0.019381; 0.999959, 0.998343, 0.973546, 0.824952, 0.473389, 0.142803; 1.000000, 0.999959, 0.998330, 0.973400, 0.824380, 0.472564; 1.000000, 1.000000, 0.999958, 0.998318, 0.973271, 0.823876; 1.000000, 1.000000, 1.000000, 0.999958, 0.998307, 0.973158; 1.000000, 1.000000, 1.000000, 1.000000, 0.999957, 0.998297; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 0.999957; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000]; q = marcumq (a, b); assert (q, Q, 1e-6); ***** test a = [0.00; 0.05; 1.00; 2.00; 3.00; 4.00; 5.00; 6.00; 7.00; 8.00; 9.00; 10.00; 11.00; 12.00; 13.00; 14.00; 15.00; 16.00; 17.00; 18.00; 19.00; 20.00; 21.00; 22.00; 23.00; 24.00]; b = [17.10000, 18.10000, 19.10000]; Q = [0.000000, 0.000000, 0.000000; 0.000000, 0.000000, 0.000000; 0.000000, 0.000000, 0.000000; 0.000000, 0.000000, 0.000000; 0.000000, 0.000000, 0.000000; 0.000000, 0.000000, 0.000000; 0.000000, 0.000000, 0.000000; 0.000000, 0.000000, 0.000000; 0.000000, 0.000000, 0.000000; 0.000000, 0.000000, 0.000000; 0.000000, 0.000000, 0.000000; 0.000000, 0.000000, 0.000000; 0.000000, 0.000000, 0.000000; 0.000000, 0.000000, 0.000000; 0.000024, 0.000000, 0.000000; 0.001078, 0.000024, 0.000000; 0.019283, 0.001071, 0.000023; 0.142364, 0.019197, 0.001065; 0.471835, 0.141976, 0.019121; 0.823429, 0.471188, 0.141630; 0.973056, 0.823030, 0.470608; 0.998289, 0.972965, 0.822671; 0.999957, 0.998281, 0.972883; 1.000000, 0.999957, 0.998274; 1.000000, 1.000000, 0.999956; 1.000000, 1.000000, 1.000000]; q = marcumq (a, b); assert (q, Q, 1e-6); ***** test M = 2; a = [0.00; 0.05; 1.00; 2.00; 3.00; 4.00; 5.00; 6.00; 7.00; 8.00; 9.00; 10.00; 11.00; 12.00; 13.00; 14.00; 15.00; 16.00; 17.00; 18.00; 19.00; 20.00; 21.00; 22.00; 23.00; 24.00]; b = [ 0.00, 0.10, 2.10, 7.10, 12.10, 17.10]; Q = [1.000000, 0.999987, 0.353353, 0.000000, 0.000000, 0.000000; 1.000000, 0.999988, 0.353687, 0.000000, 0.000000, 0.000000; 1.000000, 0.999992, 0.478229, 0.000000, 0.000000, 0.000000; 1.000000, 0.999999, 0.745094, 0.000001, 0.000000, 0.000000; 1.000000, 1.000000, 0.934771, 0.000077, 0.000000, 0.000000; 1.000000, 1.000000, 0.992266, 0.002393, 0.000000, 0.000000; 1.000000, 1.000000, 0.999607, 0.032264, 0.000000, 0.000000; 1.000000, 1.000000, 0.999992, 0.192257, 0.000000, 0.000000; 1.000000, 1.000000, 1.000000, 0.545174, 0.000000, 0.000000; 1.000000, 1.000000, 1.000000, 0.864230, 0.000040, 0.000000; 1.000000, 1.000000, 1.000000, 0.981589, 0.001555, 0.000000; 1.000000, 1.000000, 1.000000, 0.998957, 0.024784, 0.000000; 1.000000, 1.000000, 1.000000, 0.999976, 0.166055, 0.000000; 1.000000, 1.000000, 1.000000, 1.000000, 0.509823, 0.000000; 1.000000, 1.000000, 1.000000, 1.000000, 0.846066, 0.000032; 1.000000, 1.000000, 1.000000, 1.000000, 0.978062, 0.001335; 1.000000, 1.000000, 1.000000, 1.000000, 0.998699, 0.022409; 1.000000, 1.000000, 1.000000, 1.000000, 0.999970, 0.156421; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 0.495223; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 0.837820; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 0.976328; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 0.998564; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 0.999966; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000]; q = marcumq (a, b, M); assert (q, Q, 1e-6); ***** test M = 5; a = [0.00; 0.05; 1.00; 2.00; 3.00; 4.00; 5.00; 6.00; 7.00; 8.00; 9.00; 10.00; 11.00; 12.00; 13.00; 14.00; 15.00; 16.00; 17.00; 18.00; 19.00; 20.00; 21.00; 22.00; 23.00; 24.00]; b = [ 0.00, 0.10, 2.10, 7.10, 12.10, 17.10]; Q = [1.000000, 1.000000, 0.926962, 0.000000, 0.000000, 0.000000; 1.000000, 1.000000, 0.927021, 0.000000, 0.000000, 0.000000; 1.000000, 1.000000, 0.947475, 0.000001, 0.000000, 0.000000; 1.000000, 1.000000, 0.980857, 0.000033, 0.000000, 0.000000; 1.000000, 1.000000, 0.996633, 0.000800, 0.000000, 0.000000; 1.000000, 1.000000, 0.999729, 0.011720, 0.000000, 0.000000; 1.000000, 1.000000, 0.999990, 0.088999, 0.000000, 0.000000; 1.000000, 1.000000, 1.000000, 0.341096, 0.000000, 0.000000; 1.000000, 1.000000, 1.000000, 0.705475, 0.000002, 0.000000; 1.000000, 1.000000, 1.000000, 0.933009, 0.000134, 0.000000; 1.000000, 1.000000, 1.000000, 0.993118, 0.003793, 0.000000; 1.000000, 1.000000, 1.000000, 0.999702, 0.045408, 0.000000; 1.000000, 1.000000, 1.000000, 0.999995, 0.238953, 0.000000; 1.000000, 1.000000, 1.000000, 1.000000, 0.607903, 0.000001; 1.000000, 1.000000, 1.000000, 1.000000, 0.896007, 0.000073; 1.000000, 1.000000, 1.000000, 1.000000, 0.987642, 0.002480; 1.000000, 1.000000, 1.000000, 1.000000, 0.999389, 0.034450; 1.000000, 1.000000, 1.000000, 1.000000, 0.999988, 0.203879; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 0.565165; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 0.876284; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 0.984209; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 0.999165; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 0.999983; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000]; q = marcumq (a, b, M); assert (q, Q, 1e-6); ***** test M = 10; a = [0.00; 0.05; 1.00; 2.00; 3.00; 4.00; 5.00; 6.00; 7.00; 8.00; 9.00; 10.00; 11.00; 12.00; 13.00; 14.00; 15.00; 16.00; 17.00; 18.00; 19.00; 20.00; 21.00; 22.00; 23.00; 24.00]; b = [ 0.00, 0.10, 2.10, 7.10, 12.10, 17.10]; Q = [1.000000, 1.000000, 0.999898, 0.000193, 0.000000, 0.000000; 1.000000, 1.000000, 0.999897, 0.000194, 0.000000, 0.000000; 1.000000, 1.000000, 0.999931, 0.000416, 0.000000, 0.000000; 1.000000, 1.000000, 0.999980, 0.002377, 0.000000, 0.000000; 1.000000, 1.000000, 0.999997, 0.016409, 0.000000, 0.000000; 1.000000, 1.000000, 0.999999, 0.088005, 0.000000, 0.000000; 1.000000, 1.000000, 1.000000, 0.302521, 0.000000, 0.000000; 1.000000, 1.000000, 1.000000, 0.638401, 0.000000, 0.000000; 1.000000, 1.000000, 1.000000, 0.894322, 0.000022, 0.000000; 1.000000, 1.000000, 1.000000, 0.984732, 0.000840, 0.000000; 1.000000, 1.000000, 1.000000, 0.998997, 0.014160, 0.000000; 1.000000, 1.000000, 1.000000, 0.999972, 0.107999, 0.000000; 1.000000, 1.000000, 1.000000, 1.000000, 0.391181, 0.000000; 1.000000, 1.000000, 1.000000, 1.000000, 0.754631, 0.000004; 1.000000, 1.000000, 1.000000, 1.000000, 0.951354, 0.000266; 1.000000, 1.000000, 1.000000, 1.000000, 0.995732, 0.006444; 1.000000, 1.000000, 1.000000, 1.000000, 0.999843, 0.065902; 1.000000, 1.000000, 1.000000, 1.000000, 0.999998, 0.299616; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 0.676336; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 0.925312; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 0.992390; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 0.999679; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 0.999995; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000; 1.000000, 1.000000, 1.000000, 1.000000, 1.000000, 1.000000]; q = marcumq (a, b, M); assert (q, Q, 1e-6); 14 tests, 14 passed, 0 known failure, 0 skipped [inst/convmtx.m] >>>>> /<>/inst/convmtx.m ***** assert(convmtx([3,4,5],3),[3,4,5,0,0;0,3,4,5,0;0,0,3,4,5]) ***** assert(convmtx([3;4;5],3),[3,0,0;4,3,0;5,4,3;0,5,4;0,0,5]) 2 tests, 2 passed, 0 known failure, 0 skipped [inst/besself.m] >>>>> /<>/inst/besself.m ***** error [a, b] = besself () ***** error [a, b] = besself (1) ***** error [a, b] = besself (1, 2, 3, 4, 5) ***** error [a, b] = besself (.5, .2) ***** error [a, b] = besself (3, .2, "invalid") 5 tests, 5 passed, 0 known failure, 0 skipped [inst/welchwin.m] >>>>> /<>/inst/welchwin.m ***** demo m = 32; t = [0:m-1]; printf ("Graph: single period of "); printf ("%d-point periodic (blue) and symmetric (red) windows\n", m); xp = welchwin (m, "periodic"); xs = welchwin (m, "symmetric"); plot (t, xp, "b", t, xs, "r") ***** demo m = 32; t = [0:4*m-1]; printf ("Graph: 4 periods of "); printf ("%d-point periodic (blue) and symmetric (red) windows\n", m); xp = welchwin (m, "periodic"); xs = welchwin (m, "symmetric"); xp2 = repmat (xp, 4, 1); xs2 = repmat (xs, 4, 1); plot (t, xp2, "b", t, xs2, "r") ***** demo m = 32; n = 512; xp = welchwin (m, "periodic"); s = fftshift (max (1e-2, abs (fft (postpad (xp, n))))); f = [-0.5:1/n:0.5-1/n]; printf ("%dx null-padded, power spectrum of %d-point window\n", n/m, m); semilogy (f, s) ***** assert (welchwin (3), [0; 1; 0]); ***** assert (welchwin (15), flipud (welchwin (15))); ***** assert (welchwin (16), flipud (welchwin (16))); ***** assert (welchwin (15), welchwin (15, "symmetric")); ***** assert (welchwin (16)(1:15), welchwin (15, "periodic")); ***** error welchwin () ***** error welchwin (0.5) ***** error welchwin (-1) ***** error welchwin (ones (1, 4)) ***** error welchwin (1, 2, 3) ***** error welchwin (1, "invalid") 11 tests, 11 passed, 0 known failure, 0 skipped [inst/bohmanwin.m] >>>>> /<>/inst/bohmanwin.m ***** assert (bohmanwin (1), 1) ***** assert (bohmanwin (2), zeros (2, 1)) ***** error bohmanwin () ***** error bohmanwin (0.5) ***** error bohmanwin (-1) ***** error bohmanwin (ones (1, 4)) ***** error bohmanwin (1, 2) 7 tests, 7 passed, 0 known failure, 0 skipped [inst/cplxreal.m] >>>>> /<>/inst/cplxreal.m ***** test [zc, zr] = cplxreal ([]); assert (isempty (zc)) assert (isempty (zr)) ***** test [zc, zr] = cplxreal (1); assert (isempty (zc)) assert (zr, 1) ***** test [zc, zr] = cplxreal ([1+1i, 1-1i]); assert (zc, 1+1i) assert (isempty (zr)) ***** test [zc, zr] = cplxreal (roots ([1, 0, 0, 1])); assert (zc, complex (0.5, sin (pi/3)), 10*eps) assert (zr, -1, 2*eps) ***** error cplxreal () ***** error cplxreal (1, 2, 3, 4) ***** error cplxreal (1, ones (2, 3)) ***** error cplxreal (1, -1) ***** error cplxreal (1, [], 3) 9 tests, 9 passed, 0 known failure, 0 skipped [inst/fracshift.m] >>>>> /<>/inst/fracshift.m ***** test d = [1.5 7/6]; N = 1024; t = ((0:N-1)-N/2).'; tt = bsxfun (@minus, t, d); err1= err2 = zeros(N/2,1); for n = 0:N/2-1, phi0 = 2*pi*rand; f0 = n/N; sigma = N/4; x = exp(-t.^2/(2*sigma)).*sin(2*pi*f0*t + phi0); xx = exp(-tt.^2/(2*sigma)).*sin(2*pi*f0*tt + phi0); [y,h] = fracshift(x, d(1)); err1(n+1) = max (abs (y - xx(:,1))); [y,h] = fracshift(x, d(2)); err2(n+1) = max (abs (y - xx(:,2))); endfor rolloff = .1; rejection = 10^-3; idx_inband = 1:ceil((1-rolloff)*N/2)-1; assert (max (err1(idx_inband)) < rejection); assert (max (err2(idx_inband)) < rejection); ***** test N = 1024; p = 6; q = 7; d1 = 64; d2 = d1*p/q; t = 128; [b a] = butter (10,.25); n = zeros (N, 1); n(N/2+(-t:t)) = randn(2*t+1,1); n = filter(b,a,n); n1 = fracshift(n,d1); n1 = resample(n1,p,q); n2 = resample(n,p,q); n2 = fracshift(n2,d2); err = abs (n2 - n1); rejection = 10^-3; assert(max (err) < rejection); ***** test #integer shift similar similar to non-integer N = 1024; t = linspace(0, 1, N).'; x = exp(-t.^2/2/0.25^2).*sin(2*pi*10*t); d = 10; y = fracshift(x, d); yh = fracshift(x, d+1e-8); assert(y, yh, 1e-8) ***** warning fracshift([1 2 3 2 1], 3, h=0.5); #integer shift and filter provided ***** test #bug 52758 x = [0 1 0 0 0 0 0 0]; y = fracshift(x, 1); assert (size(x) == size(y)) ***** test #bug 47387 N = 1024; t = linspace(0, 1, N).'; x = exp(-t.^2/2/0.25^2).*sin(2*pi*10*t); dt = 0.25; d = dt / (t(2) - t(1)); y = fracshift(x, d); L = 37; _t = (-L:L).'; ideal_filter = sinc (_t - (d - fix (d))); m = 2 * L; _t = (0:m).' - (d - fix (d)); beta = 5.6533; _t = 2 * beta / m * sqrt (_t .* (m - _t)); w = besseli (0, _t) / besseli (0, beta); h = w .* ideal_filter; yh = fracshift(x, d, h); assert(y, yh, 1e-8) ***** demo N = 1024; t = linspace (0, 1, N).'; x = exp(-t.^2/2/0.25^2).*sin(2*pi*10*t); dt = 0.25; d = dt / (t(2) - t(1)); y = fracshift(x, d); plot(t,y,'r-;shifted;', t, x, 'k-;original;') axis tight xlabel ('time') ylabel ('signal') 6 tests, 6 passed, 0 known failure, 0 skipped [inst/ifht.m] >>>>> /<>/inst/ifht.m ***** assert(ifht(fht(1:4)),[1 2 3 4]) 1 test, 1 passed, 0 known failure, 0 skipped [inst/flattopwin.m] >>>>> /<>/inst/flattopwin.m ***** assert (flattopwin (1), 1); ***** assert (flattopwin (2), 0.0042 / 4.6402 * ones (2, 1), eps); ***** assert (flattopwin (15), flipud (flattopwin (15)), 10*eps); ***** assert (flattopwin (16), flipud (flattopwin (16)), 10*eps); ***** assert (flattopwin (15), flattopwin (15, "symmetric")); ***** assert (flattopwin (16)(1:15), flattopwin (15, "periodic")); ***** error flattopwin () ***** error flattopwin (0.5) ***** error flattopwin (-1) ***** error flattopwin (ones (1, 4)) ***** error flattopwin (1, 2) ***** error flattopwin (1, 2, 3) ***** error flattopwin (1, "invalid") 13 tests, 13 passed, 0 known failure, 0 skipped [inst/unshiftdata.m] >>>>> /<>/inst/unshiftdata.m ***** test x = 1:5; [y, perm, shifts] = shiftdata (x); x2 = unshiftdata (y, perm, shifts); assert (x, x2); ***** test X = fix (rand (3, 3) * 100); [Y, perm, shifts] = shiftdata (X, 2); X2 = unshiftdata (Y, perm, shifts); assert (X, X2); ***** test X = fix (rand (4, 4, 4, 4) * 100); [Y, perm, shifts] = shiftdata (X, 3); X2 = unshiftdata (Y, perm, shifts); assert (X, X2); ***** test X = fix (rand (1, 1, 3, 4) * 100); [Y, perm, shifts] = shiftdata (X); X2 = unshiftdata (Y, perm, shifts); assert (X, X2); ***** error unshiftdata () ***** error unshiftdata (1, 2) ***** error unshiftdata (1, 2, 3, 4) ***** error unshiftdata (1, 2.5) ***** error unshiftdata (1, [], 2.5) ***** error unshiftdata (1, [], []) 10 tests, 10 passed, 0 known failure, 0 skipped [inst/zerocrossing.m] >>>>> /<>/inst/zerocrossing.m ***** test x = linspace(0,1,100); y = rand(1,100)-0.5; x0= zerocrossing(x,y); y0 = interp1(x,y,x0); assert(norm(y0,inf), 0, 100*eps) ***** test x = linspace(0,1,100); y = rand(1,100)-0.5; y(10:20) = 0; x0= zerocrossing(x,y); y0 = interp1(x,y,x0); assert(norm(y0,inf), 0, 100*eps) ***** demo x = linspace(0,1,100); y = rand(1,100)-0.5; x0= zerocrossing(x,y); y0 = interp1(x,y,x0); plot(x,y,x0,y0,'x') ***** demo x = linspace(0,1,100); y = rand(1,100)-0.5; y(10:20) = 0; x0= zerocrossing(x,y); y0 = interp1(x,y,x0); plot(x,y,x0,y0,'x') 2 tests, 2 passed, 0 known failure, 0 skipped [inst/ifwht.m] >>>>> /<>/inst/ifwht.m ***** assert (isempty (ifwht ([]))); ***** assert (ifwht (zeros (16)), zeros (16)); ***** assert (ifwht ([1; (zeros (15, 1))]), ones (16, 1)); ***** assert (ifwht (zeros (17, 1)), zeros (32, 1)); ***** assert (ifwht ([0 0 0 0 0 0 0 1]), [1 -1 1 -1 1 -1 1 -1]); ***** error ifwht (); ***** error ifwht (1, 2, 3, 4); ***** error ifwht (0, 0); ***** error ifwht (0, 5); ***** error ifwht (0, [], "invalid"); 10 tests, 10 passed, 0 known failure, 0 skipped [inst/upsamplefill.m] >>>>> /<>/inst/upsamplefill.m ***** assert(upsamplefill([1,3,5],2),[1,2,3,2,5,2]); ***** assert(upsamplefill([1;3;5],2),[1;2;3;2;5;2]); ***** assert(upsamplefill([1,2,5],[2 -2]),[1,2,-2,2,2,-2,5,2,-2]); ***** assert(upsamplefill(eye(2),2,true),[1,0;1,0;1,0;0,1;0,1;0,1]); ***** assert(upsamplefill([1,3,5],2,true),[1,1,1,3,3,3,5,5,5]); ***** assert(upsamplefill([1;3;5],2,true),[1;1;1;3;3;3;;5;5;5]); 6 tests, 6 passed, 0 known failure, 0 skipped [inst/sos2zp.m] >>>>> /<>/inst/sos2zp.m ***** test b1t=[1 2 3]; a1t=[1 .2 .3]; b2t=[4 5 6]; a2t=[1 .4 .5]; sos=[b1t a1t; b2t a2t]; z = [-1-1.41421356237310i;-1+1.41421356237310i;... -0.625-1.05326872164704i;-0.625+1.05326872164704i]; p = [-0.2-0.678232998312527i;-0.2+0.678232998312527i;... -0.1-0.538516480713450i;-0.1+0.538516480713450i]; k = 4; [z2,p2,k2] = sos2zp(sos,1); assert({cplxpair(z2),cplxpair(p2),k2},{z,p,k},100*eps); 1 test, 1 passed, 0 known failure, 0 skipped [inst/window.m] >>>>> /<>/inst/window.m ***** assert (window (@bartlett, 16), window ("bartlett", 16)) ***** assert (window (@hamming, 16), window ("hamming", 16)) ***** assert (window (@hanning, 16), window ("hanning", 16)) ***** assert (window (@triang, 16), window ("triang", 16)) ***** error window () ***** error window (1) ***** error window ("hanning") 7 tests, 7 passed, 0 known failure, 0 skipped [inst/kaiser.m] >>>>> /<>/inst/kaiser.m ***** demo % use demo("kaiserord"); ***** assert (kaiser (1), 1) ***** error kaiser () ***** error kaiser (0.5) ***** error kaiser (-1) ***** error kaiser (ones (1, 4)) ***** error kaiser (1, 2, 3) 6 tests, 6 passed, 0 known failure, 0 skipped [inst/upsample.m] >>>>> /<>/inst/upsample.m ***** assert(upsample([1,3,5],2),[1,0,3,0,5,0]); ***** assert(upsample([1;3;5],2),[1;0;3;0;5;0]); ***** assert(upsample([1,2;5,6;9,10],2),[1,2;0,0;5,6;0,0;9,10;0,0]); ***** assert(upsample([2,4],2,1),[0,2,0,4]); ***** assert(upsample([3,4;7,8],2,1),[0,0;3,4;0,0;7,8]); 5 tests, 5 passed, 0 known failure, 0 skipped [inst/cheb1ord.m] >>>>> /<>/inst/cheb1ord.m ***** demo fs = 44100; fpass = 4000; fstop = 10988; Rpass = 1; Rstop = 26; Wpass = 2 / fs * fpass; Wstop = 2 / fs * fstop; [n, Wn_p, Wn_s] = cheb1ord (Wpass, Wstop, Rpass, Rstop) [b, a] = cheby1 (n, Rpass, Wn_p); SYS = tf (b, a, 1 / fs); f = (0:fs/2)'; W = f * (2 * pi / fs); [H, P] = bode (SYS, 2 * pi * f); plot (f, 20 * log10 (abs (H))); title ("Digital Chebyshev low-pass Typ I : matching pass band"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_lp_pass_x = [f(2) , fpass(1), fpass(1)]; outline_lp_pass_y = [-Rpass, -Rpass , -80]; outline_lp_stop_x = [f(2) , fstop(1), fstop(1), max(f)]; outline_lp_stop_y = [0 , 0 , -Rstop , -Rstop]; hold on; plot (outline_lp_pass_x, outline_lp_pass_y, "m"); plot (outline_lp_stop_x, outline_lp_stop_y, "m"); ylim ([-80, 0]); ***** demo fs = 44100; fpass = 4000; fstop = 10988; Rpass = 1; Rstop = 26; Wpass = 2 / fs * fpass; Wstop = 2 / fs * fstop; [n, Wn_p, Wn_s] = cheb1ord (Wpass, Wstop, Rpass, Rstop) [b, a] = cheby1 (n, Rpass, Wn_s); SYS = tf (b, a, 1 / fs); f = (0:fs/2)'; W = f * (2 * pi / fs); [H, P] = bode (SYS, 2 * pi * f); plot (f, 20 * log10 (abs (H))); title ("Digital Chebyshev low-pass Typ I : matching stop band"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_lp_pass_x = [f(2) , fpass(1), fpass(1)]; outline_lp_pass_y = [-Rpass, -Rpass , -80]; outline_lp_stop_x = [f(2) , fstop(1), fstop(1), max(f)]; outline_lp_stop_y = [0 , 0 , -Rstop , -Rstop]; hold on; plot (outline_lp_pass_x, outline_lp_pass_y, "m"); plot (outline_lp_stop_x, outline_lp_stop_y, "m"); ylim ([-80, 0]); ***** demo fs = 44100; fstop = 4000; fpass = 10988; Rpass = 1; Rstop = 26; Wpass = 2 / fs * fpass; Wstop = 2 / fs * fstop; [n, Wn_p, Wn_s] = cheb1ord (Wpass, Wstop, Rpass, Rstop) [b, a] = cheby1 (n, Rpass, Wn_p, "high"); f = (0:fs/2)'; W = f * (2 * pi / fs); H = freqz (b, a, W); plot (f, 20 * log10 (abs (H))); title ("Digital Chebyshev high-pass Typ I : matching pass band"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_hp_pass_x = [fpass(1), fpass(1), max(f)]; outline_hp_pass_y = [-80 , -Rpass , -Rpass]; outline_hp_stop_x = [min(f) , fstop(1), fstop(1), max(f)]; outline_hp_stop_y = [-Rstop , -Rstop , 0 , 0 ]; hold on; plot (outline_hp_pass_x, outline_hp_pass_y, "m"); plot (outline_hp_stop_x, outline_hp_stop_y, "m"); ylim ([-80, 0]); ***** demo fs = 44100; fstop = 4000; fpass = 10988; Rpass = 1; Rstop = 26; Wpass = 2 / fs * fpass; Wstop = 2 / fs * fstop; [n, Wn_p, Wn_s] = cheb1ord (Wpass, Wstop, Rpass, Rstop) [b, a] = cheby1 (n, Rpass, Wn_s, "high"); f = (0:fs/2)'; W = f * (2 * pi / fs); H = freqz (b, a, W); plot (f, 20 * log10 (abs (H))); title ("Digital Chebyshev high-pass Typ I : matching stop band"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_hp_pass_x = [fpass(1), fpass(1), max(f)]; outline_hp_pass_y = [-80 , -Rpass , -Rpass]; outline_hp_stop_x = [min(f) , fstop(1), fstop(1), max(f)]; outline_hp_stop_y = [-Rstop , -Rstop , 0 , 0 ]; hold on; plot (outline_hp_pass_x, outline_hp_pass_y, "m"); plot (outline_hp_stop_x, outline_hp_stop_y, "m"); ylim ([-80, 0]); ***** demo fs = 44100; fpass = [9500 9750]; fstop = [8500, 10052]; Rpass = 1; Rstop = 26; Wpass = 2 / fs * fpass; Wstop = 2 / fs * fstop; [n, Wn_p, Wn_s] = cheb1ord (Wpass, Wstop, Rpass, Rstop) [b, a] = cheby1 (n, Rpass, Wn_p); f = (6000:14000)'; W = f * (2 * pi / fs); H = freqz (b, a, W); plot (f, 20 * log10 (abs (H))); title ("Digital Chebyshev band-pass Typ I : matching pass band, limit on upper freq"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_bp_pass_x = [fpass(1), fpass(1), fpass(2), fpass(2)]; outline_bp_pass_y = [-80 , -Rpass , -Rpass , -80]; outline_bp_stop_x = [min(f) , fstop(1), fstop(1), fstop(2), ... fstop(2), max(f)]; outline_bp_stop_y = [-Rstop , -Rstop , 0 , 0 , ... -Rstop , -Rstop]; hold on plot (outline_bp_pass_x, outline_bp_pass_y, "m"); plot (outline_bp_stop_x, outline_bp_stop_y, "m"); grid on; ylim ([-80, 0]); ***** demo fs = 44100; fpass = [9500 9750]; fstop = [8500, 10052]; Rpass = 1; Rstop = 26; Wpass = 2 / fs * fpass; Wstop = 2 / fs * fstop; [n, Wn_p, Wn_s] = cheb1ord (Wpass, Wstop, Rpass, Rstop) [b, a] = cheby1 (n, Rpass, Wn_s); f = (6000:14000)'; W = f * (2 * pi / fs); H = freqz (b, a, W); plot (f, 20 * log10 (abs (H))); title ("Digital Chebyshev band-pass Typ I : matching stop band, limit on upper freq"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_bp_pass_x = [fpass(1), fpass(1), fpass(2), fpass(2)]; outline_bp_pass_y = [-80 , -Rpass , -Rpass , -80]; outline_bp_stop_x = [min(f) , fstop(1), fstop(1), fstop(2), ... fstop(2), max(f)]; outline_bp_stop_y = [-Rstop , -Rstop , 0 , 0 , ... -Rstop , -Rstop]; hold on plot (outline_bp_pass_x, outline_bp_pass_y, "m"); plot (outline_bp_stop_x, outline_bp_stop_y, "m"); grid on; ylim ([-80, 0]); ***** demo fs = 44100; fpass = [9500 9750]; fstop = [9182 12000]; Rpass = 1; Rstop = 26; Wpass = 2 / fs * fpass; Wstop = 2 / fs * fstop; [n, Wn_p, Wn_s] = cheb1ord (Wpass, Wstop, Rpass, Rstop) [b, a] = cheby1 (n, Rpass, Wn_p); f = (6000:14000)'; W = f * (2 * pi / fs); H = freqz (b, a, W); plot (f, 20 * log10 (abs (H))); title ("Digital Chebyshev band-pass Typ I : matching pass band, limit on lower freq"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_bp_pass_x = [fpass(1), fpass(1), fpass(2), fpass(2)]; outline_bp_pass_y = [-80 , -Rpass , -Rpass , -80]; outline_bp_stop_x = [min(f) , fstop(1), fstop(1), fstop(2), ... fstop(2), max(f)]; outline_bp_stop_y = [-Rstop , -Rstop , 0 , 0 , ... -Rstop , -Rstop]; hold on plot (outline_bp_pass_x, outline_bp_pass_y, "m"); plot (outline_bp_stop_x, outline_bp_stop_y, "m"); grid on; ylim ([-80, 0]); ***** demo fs = 44100; fpass = [9500 9750]; fstop = [9182 12000]; Rpass = 1; Rstop = 26; Wpass = 2 / fs * fpass; Wstop = 2 / fs * fstop; [n, Wn_p, Wn_s] = cheb1ord (Wpass, Wstop, Rpass, Rstop) [b, a] = cheby1 (n, Rpass, Wn_s); f = (6000:14000)'; W = f * (2 * pi / fs); H = freqz (b, a, W); plot (f, 20 * log10 (abs (H))); title ("Digital Chebyshev band-pass Typ I : matching stop band, limit on lower freq"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_bp_pass_x = [fpass(1), fpass(1), fpass(2), fpass(2)]; outline_bp_pass_y = [-80 , -Rpass , -Rpass , -80]; outline_bp_stop_x = [min(f) , fstop(1), fstop(1), fstop(2), ... fstop(2), max(f)]; outline_bp_stop_y = [-Rstop , -Rstop , 0 , 0 , ... -Rstop , -Rstop]; hold on plot (outline_bp_pass_x, outline_bp_pass_y, "m"); plot (outline_bp_stop_x, outline_bp_stop_y, "m"); grid on; ylim ([-80, 0]); ***** demo fs = 44100; fstop = [9875, 10126.5823]; fpass = [8500, 10834]; Rpass = 0.5; Rstop = 40; Wpass = 2 / fs * fpass; Wstop = 2 / fs * fstop; [n, Wn_p, Wn_s] = cheb1ord (Wpass, Wstop, Rpass, Rstop) [b, a] = cheby1 (n, Rpass, Wn_p, "stop"); f = (6000:14000)'; W = f * (2 * pi / fs); H = freqz (b, a, W); Ampl = abs (H); plot (f, 20 * log10 (abs (H))); title ("Digital Chebyshev notch Typ I : matching pass band, limit on upper freq"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_notch_pass_x_a = [min(f) , fpass(1), fpass(1)]; outline_notch_pass_x_b = [fpass(2), fpass(2), max(f)]; outline_notch_pass_y_a = [-Rpass , -Rpass , -80]; outline_notch_pass_y_b = [-80 , -Rpass , -Rpass]; outline_notch_stop_x = [min(f) , fstop(1), fstop(1), fstop(2), ... fstop(2), max(f)]; outline_notch_stop_y = [0 , 0 , -Rstop , -Rstop , 0, 0 ]; hold on; plot (outline_notch_pass_x_a, outline_notch_pass_y_a, "m"); plot (outline_notch_pass_x_b, outline_notch_pass_y_b, "m"); plot (outline_notch_stop_x, outline_notch_stop_y, "m"); ylim ([-80, 0]); ***** demo fs = 44100; fstop = [9875, 10126.5823]; fpass = [8500, 10834]; Rpass = 0.5; Rstop = 40; Wpass = 2 / fs * fpass; Wstop = 2 / fs * fstop; [n, Wn_p, Wn_s] = cheb1ord (Wpass, Wstop, Rpass, Rstop) [b, a] = cheby1 (n, Rpass, Wn_s, "stop"); f = (6000:14000)'; W = f * (2 * pi / fs); H = freqz (b, a, W); Ampl = abs (H); plot (f, 20 * log10 (abs (H))); title ("Digital Chebyshev notch Typ I : matching stop band, limit on upper freq"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_notch_pass_x_a = [min(f) , fpass(1), fpass(1)]; outline_notch_pass_x_b = [fpass(2), fpass(2), max(f)]; outline_notch_pass_y_a = [-Rpass , -Rpass , -80]; outline_notch_pass_y_b = [-80 , -Rpass , -Rpass]; outline_notch_stop_x = [min(f) , fstop(1), fstop(1), fstop(2), ... fstop(2), max(f)]; outline_notch_stop_y = [0 , 0 , -Rstop , -Rstop , 0, 0 ]; hold on; plot (outline_notch_pass_x_a, outline_notch_pass_y_a, "m"); plot (outline_notch_pass_x_b, outline_notch_pass_y_b, "m"); plot (outline_notch_stop_x, outline_notch_stop_y, "m"); ylim ([-80, 0]); ***** demo fs = 44100; fstop = [9875, 10126.5823]; fpass = [9182, 12000]; Rpass = 0.5; Rstop = 40; Wpass = 2 / fs * fpass; Wstop = 2 / fs * fstop; [n, Wn_p, Wn_s] = cheb1ord (Wpass, Wstop, Rpass, Rstop) [b, a] = cheby1 (n, Rpass, Wn_p, "stop"); f = (6000:14000)'; W = f * (2 * pi / fs); H = freqz (b, a, W); Ampl = abs (H); plot (f, 20 * log10 (abs (H))); title ("Digital Chebyshev notch Typ I : matching pass band, limit on lower freq"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_notch_pass_x_a = [min(f) , fpass(1), fpass(1)]; outline_notch_pass_x_b = [fpass(2), fpass(2), max(f)]; outline_notch_pass_y_a = [-Rpass , -Rpass , -80]; outline_notch_pass_y_b = [-80 , -Rpass , -Rpass]; outline_notch_stop_x = [min(f) , fstop(1), fstop(1), fstop(2), ... fstop(2), max(f)]; outline_notch_stop_y = [0 , 0 , -Rstop , -Rstop , 0, 0 ]; hold on; plot (outline_notch_pass_x_a, outline_notch_pass_y_a, "m"); plot (outline_notch_pass_x_b, outline_notch_pass_y_b, "m"); plot (outline_notch_stop_x, outline_notch_stop_y, "m"); ylim ([-80, 0]); ***** demo fs = 44100; fstop = [9875, 10126.5823]; fpass = [9182, 12000]; Rpass = 0.5; Rstop = 40; Wpass = 2 / fs * fpass; Wstop = 2 / fs * fstop; [n, Wn_p, Wn_s] = cheb1ord (Wpass, Wstop, Rpass, Rstop) [b, a] = cheby1 (n, Rpass, Wn_s, "stop"); f = (6000:14000)'; W = f * (2 * pi / fs); H = freqz (b, a, W); Ampl = abs (H); plot (f, 20 * log10 (abs (H))); title ("Digital Chebyshev notch Typ I : matching stop band, limit on lower freq"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_notch_pass_x_a = [min(f) , fpass(1), fpass(1)]; outline_notch_pass_x_b = [fpass(2), fpass(2), max(f)]; outline_notch_pass_y_a = [-Rpass , -Rpass , -80]; outline_notch_pass_y_b = [-80 , -Rpass , -Rpass]; outline_notch_stop_x = [min(f) , fstop(1), fstop(1), fstop(2), ... fstop(2), max(f)]; outline_notch_stop_y = [0 , 0 , -Rstop , -Rstop , 0, 0 ]; hold on; plot (outline_notch_pass_x_a, outline_notch_pass_y_a, "m"); plot (outline_notch_pass_x_b, outline_notch_pass_y_b, "m"); plot (outline_notch_stop_x, outline_notch_stop_y, "m"); ylim ([-80, 0]); ***** demo fpass = 4000; fstop = 13584; Rpass = 1; Rstop = 26; Wpass = 2 * pi * fpass; Wstop = 2 * pi * fstop; [n, Wn_p, Wn_s] = cheb1ord (Wpass, Wstop, Rpass, Rstop, "s") [b, a] = cheby1 (n, Rpass, Wn_p, "s"); f = 1000:10:100000; W = 2 * pi * f; H = freqs (b, a, W); semilogx (f, 20 * log10 (abs (H))); title ("Analog Chebyshev low-pass Typ I : matching pass band"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_lp_pass_x = [f(2) , fpass(1), fpass(1)]; outline_lp_pass_y = [-Rpass, -Rpass , -80]; outline_lp_stop_x = [f(2) , fstop(1), fstop(1), max(f)]; outline_lp_stop_y = [0 , 0 , -Rstop , -Rstop]; hold on; plot (outline_lp_pass_x, outline_lp_pass_y, "m"); plot (outline_lp_stop_x, outline_lp_stop_y, "m"); ylim ([-80, 0]); ***** demo fpass = 4000; fstop = 13584; Rpass = 1; Rstop = 26; Wpass = 2 * pi * fpass; Wstop = 2 * pi * fstop; [n, Wn_p, Wn_s] = cheb1ord (Wpass, Wstop, Rpass, Rstop, "s") [b, a] = cheby1 (n, Rpass, Wn_s, "s"); f = 1000:10:100000; W = 2 * pi * f; H = freqs (b, a, W); semilogx (f, 20 * log10 (abs (H))); title ("Analog Chebyshev low-pass Typ I : matching stop band"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_lp_pass_x = [f(2) , fpass(1), fpass(1)]; outline_lp_pass_y = [-Rpass, -Rpass , -80]; outline_lp_stop_x = [f(2) , fstop(1), fstop(1), max(f)]; outline_lp_stop_y = [0 , 0 , -Rstop , -Rstop]; hold on; plot (outline_lp_pass_x, outline_lp_pass_y, "m"); plot (outline_lp_stop_x, outline_lp_stop_y, "m"); ylim ([-80, 0]); ***** demo fstop = 4000; fpass = 13584; Rpass = 1; Rstop = 26; Wpass = 2 * pi * fpass; Wstop = 2 * pi * fstop; [n, Wn_p, Wn_s] = cheb1ord (Wpass, Wstop, Rpass, Rstop, "s") [b, a] = cheby1 (n, Rpass, Wn_p, "high", "s"); f = 1000:10:100000; W = 2 * pi * f; H = freqs (b, a, W); semilogx (f, 20 * log10 (abs (H))); title ("Analog Chebyshev high-pass Typ I : matching pass band"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_hp_pass_x = [fpass(1), fpass(1), max(f)]; outline_hp_pass_y = [-80 , -Rpass , -Rpass]; outline_hp_stop_x = [f(2) , fstop(1), fstop(1), max(f)]; outline_hp_stop_y = [-Rstop , -Rstop , 0 , 0 ]; hold on; plot (outline_hp_pass_x, outline_hp_pass_y, "m"); plot (outline_hp_stop_x, outline_hp_stop_y, "m"); ylim ([-80, 0]); ***** demo fstop = 4000; fpass = 13584; Rpass = 1; Rstop = 26; Wpass = 2 * pi * fpass; Wstop = 2 * pi * fstop; [n, Wn_p, Wn_s] = cheb1ord (Wpass, Wstop, Rpass, Rstop, "s") [b, a] = cheby1 (n, Rpass, Wn_s, "high", "s"); f = 1000:10:100000; W = 2 * pi * f; H = freqs (b, a, W); semilogx (f, 20 * log10 (abs (H))); title ("Analog Chebyshev high-pass Typ I : matching stop band"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_hp_pass_x = [fpass(1), fpass(1), max(f)]; outline_hp_pass_y = [-80 , -Rpass , -Rpass]; outline_hp_stop_x = [f(2) , fstop(1), fstop(1), max(f)]; outline_hp_stop_y = [-Rstop , -Rstop , 0 , 0 ]; hold on; plot (outline_hp_pass_x, outline_hp_pass_y, "m"); plot (outline_hp_stop_x, outline_hp_stop_y, "m"); ylim ([-80, 0]); ***** demo fpass = [9875, 10126.5823]; fstop = [9000, 10437]; Rpass = 1; Rstop = 26; Wpass = 2 * pi * fpass; Wstop = 2 * pi * fstop; [n, Wn_p, Wn_s] = cheb1ord (Wpass, Wstop, Rpass, Rstop, "s") [b, a] = cheby1 (n, Rpass, Wn_p, "s"); f = 6000:14000; W = 2 * pi * f; H = freqs (b, a, W); plot (f, 20 * log10 (abs (H))); title ("Analog Chebyshev band-pass Typ I : matching pass band, limit on upper freq"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_bp_pass_x = [fpass(1), fpass(1), fpass(2), fpass(2)]; outline_bp_pass_y = [-80 , -Rpass , -Rpass , -80]; outline_bp_stop_x = [f(2) , fstop(1), fstop(1), fstop(2), ... fstop(2), max(f)]; outline_bp_stop_y = [-Rstop , -Rstop , 0 , 0 , ... -Rstop , -Rstop]; hold on plot (outline_bp_pass_x, outline_bp_pass_y, "m"); plot (outline_bp_stop_x, outline_bp_stop_y, "m"); grid on; ylim ([-80, 0]); ***** demo fpass = [9875, 10126.5823]; fstop = [9000, 10437]; Rpass = 1; Rstop = 26; Wpass = 2 * pi * fpass; Wstop = 2 * pi * fstop; [n, Wn_p, Wn_s] = cheb1ord (Wpass, Wstop, Rpass, Rstop, "s") [b, a] = cheby1 (n, Rpass, Wn_s, "s"); f = 6000:14000; W = 2 * pi * f; H = freqs (b, a, W); plot (f, 20 * log10 (abs (H))); title ("Analog Chebyshev band-pass Typ I : matching stop band, limit on upper freq"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_bp_pass_x = [fpass(1), fpass(1), fpass(2), fpass(2)]; outline_bp_pass_y = [-80 , -Rpass , -Rpass , -80]; outline_bp_stop_x = [f(2) , fstop(1), fstop(1), fstop(2), ... fstop(2), max(f)]; outline_bp_stop_y = [-Rstop , -Rstop , 0 , 0 , ... -Rstop , -Rstop]; hold on plot (outline_bp_pass_x, outline_bp_pass_y, "m"); plot (outline_bp_stop_x, outline_bp_stop_y, "m"); grid on; ylim ([-80, 0]); ***** demo fpass = [9875, 10126.5823]; fstop = [9581, 12000]; Rpass = 1; Rstop = 26; Wpass = 2 * pi * fpass; Wstop = 2 * pi * fstop; [n, Wn_p, Wn_s] = cheb1ord (Wpass, Wstop, Rpass, Rstop, "s") [b, a] = cheby1 (n, Rpass, Wn_p, "s"); f = 6000:14000; W = 2 * pi * f; H = freqs (b, a, W); plot (f, 20 * log10 (abs (H))); title ("Analog Chebyshev band-pass Typ I : matching pass band, limit on lower freq"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_bp_pass_x = [fpass(1), fpass(1), fpass(2), fpass(2)]; outline_bp_pass_y = [-80 , -Rpass , -Rpass , -80]; outline_bp_stop_x = [f(2) , fstop(1), fstop(1), fstop(2), ... fstop(2), max(f)]; outline_bp_stop_y = [-Rstop , -Rstop , 0 , 0 , ... -Rstop , -Rstop]; hold on plot (outline_bp_pass_x, outline_bp_pass_y, "m"); plot (outline_bp_stop_x, outline_bp_stop_y, "m"); grid on; ylim ([-80, 0]); ***** demo fpass = [9875, 10126.5823]; fstop = [9581, 12000]; Rpass = 1; Rstop = 26; Wpass = 2 * pi * fpass; Wstop = 2 * pi * fstop; [n, Wn_p, Wn_s] = cheb1ord (Wpass, Wstop, Rpass, Rstop, "s") [b, a] = cheby1 (n, Rpass, Wn_s, "s"); f = 6000:14000; W = 2 * pi * f; H = freqs (b, a, W); plot (f, 20 * log10 (abs (H))); title ("Analog Chebyshev band-pass Typ I : matching stop band, limit on lower freq"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_bp_pass_x = [fpass(1), fpass(1), fpass(2), fpass(2)]; outline_bp_pass_y = [-80 , -Rpass , -Rpass , -80]; outline_bp_stop_x = [f(2) , fstop(1), fstop(1), fstop(2), ... fstop(2), max(f)]; outline_bp_stop_y = [-Rstop , -Rstop , 0 , 0 , ... -Rstop , -Rstop]; hold on plot (outline_bp_pass_x, outline_bp_pass_y, "m"); plot (outline_bp_stop_x, outline_bp_stop_y, "m"); grid on; ylim ([-80, 0]); ***** demo fstop = [9875, 10126.5823]; fpass = [9000, 10437]; Rpass = 1; Rstop = 26; Wpass = 2 * pi * fpass; Wstop = 2 * pi * fstop; [n, Wn_p, Wn_s] = cheb1ord (Wpass, Wstop, Rpass, Rstop, "s") [b, a] = cheby1 (n, Rpass, Wn_p, "stop", "s"); f = 6000:14000; W = 2 * pi * f; H = freqs (b, a, W); plot (f, 20 * log10 (abs (H))); title ("Analog Chebyshev notch Typ I : matching pass band, limit on upper freq"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_notch_pass_x_a = [f(2) , fpass(1), fpass(1)]; outline_notch_pass_x_b = [fpass(2), fpass(2), max(f)]; outline_notch_pass_y_a = [-Rpass , -Rpass , -80]; outline_notch_pass_y_b = [-80 , -Rpass , -Rpass]; outline_notch_stop_x = [f(2) , fstop(1), fstop(1), fstop(2), ... fstop(2), max(f)]; outline_notch_stop_y = [0 , 0 , -Rstop , -Rstop , 0, 0 ]; hold on plot (outline_notch_pass_x_a, outline_notch_pass_y_a, "m"); plot (outline_notch_pass_x_b, outline_notch_pass_y_b, "m"); plot (outline_notch_stop_x, outline_notch_stop_y, "m"); ylim ([-80, 0]); ***** demo fstop = [9875, 10126.5823]; fpass = [9000, 10437]; Rpass = 1; Rstop = 26; Wpass = 2 * pi * fpass; Wstop = 2 * pi * fstop; [n, Wn_p, Wn_s] = cheb1ord (Wpass, Wstop, Rpass, Rstop, "s") [b, a] = cheby1 (n, Rpass, Wn_s, "stop", "s"); f = 6000:14000; W = 2 * pi * f; H = freqs (b, a, W); plot (f, 20 * log10 (abs (H))); title ("Analog Chebyshev notch Typ I : matching stop band, limit on upper freq"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_notch_pass_x_a = [f(2) , fpass(1), fpass(1)]; outline_notch_pass_x_b = [fpass(2), fpass(2), max(f)]; outline_notch_pass_y_a = [-Rpass , -Rpass , -80]; outline_notch_pass_y_b = [-80 , -Rpass , -Rpass]; outline_notch_stop_x = [f(2) , fstop(1), fstop(1), fstop(2), ... fstop(2), max(f)]; outline_notch_stop_y = [0 , 0 , -Rstop , -Rstop , 0, 0 ]; hold on plot (outline_notch_pass_x_a, outline_notch_pass_y_a, "m"); plot (outline_notch_pass_x_b, outline_notch_pass_y_b, "m"); plot (outline_notch_stop_x, outline_notch_stop_y, "m"); ylim ([-80, 0]); ***** demo fstop = [9875, 10126.5823]; fpass = [9581 12000]; Rpass = 1; Rstop = 26; Wpass = 2 * pi * fpass; Wstop = 2 * pi * fstop; [n, Wn_p, Wn_s] = cheb1ord (Wpass, Wstop, Rpass, Rstop, "s") [b, a] = cheby1 (n, Rpass, Wn_p, "stop", "s"); f = 6000:14000; W = 2 * pi * f; H = freqs (b, a, W); plot (f, 20 * log10 (abs (H))); title ("Analog Chebyshev notch Typ I : matching pass band, limit on lower freq"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_notch_pass_x_a = [f(2) , fpass(1), fpass(1)]; outline_notch_pass_x_b = [fpass(2), fpass(2), max(f)]; outline_notch_pass_y_a = [-Rpass , -Rpass , -80]; outline_notch_pass_y_b = [-80 , -Rpass , -Rpass]; outline_notch_stop_x = [f(2) , fstop(1), fstop(1), fstop(2), ... fstop(2), max(f)]; outline_notch_stop_y = [0 , 0 , -Rstop , -Rstop , 0, 0 ]; hold on plot (outline_notch_pass_x_a, outline_notch_pass_y_a, "m"); plot (outline_notch_pass_x_b, outline_notch_pass_y_b, "m"); plot (outline_notch_stop_x, outline_notch_stop_y, "m"); ylim ([-80, 0]); ***** demo fstop = [9875, 10126.5823]; fpass = [9581 12000]; Rpass = 1; Rstop = 26; Wpass = 2 * pi * fpass; Wstop = 2 * pi * fstop; [n, Wn_p, Wn_s] = cheb1ord (Wpass, Wstop, Rpass, Rstop, "s") [b, a] = cheby1 (n, Rpass, Wn_s, "stop", "s"); f = 6000:14000; W = 2 * pi * f; H = freqs (b, a, W); plot (f, 20 * log10 (abs (H))); title ("Analog Chebyshev notch Typ I : matching stop band, limit on lower freq"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_notch_pass_x_a = [f(2) , fpass(1), fpass(1)]; outline_notch_pass_x_b = [fpass(2), fpass(2), max(f)]; outline_notch_pass_y_a = [-Rpass , -Rpass , -80]; outline_notch_pass_y_b = [-80 , -Rpass , -Rpass]; outline_notch_stop_x = [f(2) , fstop(1), fstop(1), fstop(2), ... fstop(2), max(f)]; outline_notch_stop_y = [0 , 0 , -Rstop , -Rstop , 0, 0 ]; hold on plot (outline_notch_pass_x_a, outline_notch_pass_y_a, "m"); plot (outline_notch_pass_x_b, outline_notch_pass_y_b, "m"); plot (outline_notch_stop_x, outline_notch_stop_y, "m"); ylim ([-80, 0]); ***** test # Analog band-pass [n, Wn_p, Wn_s] = cheb1ord (2 * pi * [9875, 10126.5823], ... 2 * pi * [9000, 10437], 1, 26, "s"); assert (n, 3); assert (round (Wn_p), [62046, 63627]); assert (round (Wn_s), [61652, 64035]); ***** test # Analog band-pass [n, Wn_p, Wn_s] = cheb1ord (2 * pi * [9875, 10126.5823], ... 2 * pi * [9581 12000], 1, 26, "s"); assert (n, 3); assert (round (Wn_p), [62046, 63627]); assert (round (Wn_s), [61651, 64036]); ***** test # Analog high-pass [n, Wn_p, Wn_s] = cheb1ord (2 * pi * 13584, 2 * pi * 4000, 1, 26, "s"); assert (n, 3); assert (round (Wn_p), 85351); assert (round (Wn_s), 56700); ***** test # Analog low-pass [n, Wn_p, Wn_s] = cheb1ord (2 * pi * 4000, 2 * pi * 13584, 1, 26, "s"); assert (n, 3); assert (round (Wn_p), 25133); assert (round (Wn_s), 37832); ***** test # Analog notch (narrow band-stop) [n, Wn_p, Wn_s] = cheb1ord (2 * pi * [9000, 10437], ... 2 * pi * [9875, 10126.5823], 1, 26, "s"); assert (n, 3); assert (round (Wn_p), [60201, 65578]); assert (round (Wn_s), [61074, 64640]); ***** test # Analog notch (narrow band-stop) [n, Wn_p, Wn_s] = cheb1ord (2 * pi * [9581, 12000], ... 2 * pi * [9875, 10126.5823], 1, 26, "s"); assert (n, 3); assert (round (Wn_p), [60199, 65580]); assert (round (Wn_s), [61074, 64640]); ***** test # Digital band-pass fs = 44100; [n, Wn_p, Wn_s] = cheb1ord (2 / fs * [9500, 9750], ... 2 / fs * [8500, 10052], 1, 26); Wn_p = Wn_p * fs / 2; Wn_s = Wn_s * fs / 2; assert (n, 3); assert (round (Wn_p), [9500, 9750]); assert (round (Wn_s), [9437, 9814]); ***** test # Digital band-pass fs = 44100; [n, Wn_p, Wn_s] = cheb1ord (2 / fs * [9500, 9750], ... 2 / fs * [9182, 12000], 1, 26); Wn_p = Wn_p * fs / 2; Wn_s = Wn_s * fs / 2; assert (n, 3); assert (round (Wn_p), [9500, 9750]); assert (round (Wn_s), [9428, 9823]); ***** test # Digital high-pass fs = 44100; [n, Wn_p, Wn_s] = cheb1ord (2 / fs * 10988, 2 / fs * 4000, 1, 26); Wn_p = Wn_p * fs / 2; Wn_s = Wn_s * fs / 2; assert (n, 3); assert (round (Wn_p), 10988); assert (round (Wn_s), 8197); ***** test # Digital low-pass fs = 44100; [n, Wn_p, Wn_s] = cheb1ord (2 / fs * 4000, 2 / fs * 10988, 1, 26); Wn_p = Wn_p * fs / 2; Wn_s = Wn_s * fs / 2; assert (n, 3); assert (round (Wn_p), 4000); assert (round (Wn_s), 5829); ***** test # Digital notch (narrow band-stop) fs = 44100; [n, Wn_p, Wn_s] = cheb1ord (2 / fs * [8500, 10834], ... 2 / fs * [9875, 10126.5823], 0.5, 40); Wn_p = Wn_p * fs / 2; Wn_s = Wn_s * fs / 2; assert (n, 3); assert (round (Wn_p), [9182, 10834]); assert (round (Wn_s), [9475, 10532]); ***** test # Digital notch (narrow band-stop) fs = 44100; [n, Wn_p, Wn_s] = cheb1ord (2 / fs * [9182 12000], ... 2 / fs * [9875, 10126.5823], 0.5, 40); Wn_p = Wn_p * fs / 2; Wn_s = Wn_s * fs / 2; assert (n, 3); assert (round (Wn_p), [9182, 10834]); assert (round (Wn_s), [9475, 10532]); ***** error cheb1ord () ***** error cheb1ord (.1) ***** error cheb1ord (.1, .2) ***** error cheb1ord (.1, .2, 3) ***** error cheb1ord ([.1 .1], [.2 .2], 3, 4) ***** error cheb1ord ([.1 .2], [.5 .6], 3, 4) ***** error cheb1ord ([.1 .5], [.2 .6], 3, 4) 19 tests, 19 passed, 0 known failure, 0 skipped [inst/specgram.m] >>>>> /<>/inst/specgram.m ***** shared S,f,t,x Fs=1000; x = chirp([0:1/Fs:2],0,2,500); # freq. sweep from 0-500 over 2 sec. step=ceil(20*Fs/1000); # one spectral slice every 20 ms window=ceil(100*Fs/1000); # 100 ms data window [S, f, t] = specgram(x); ## test of returned shape ***** assert (rows(S), 128) ***** assert (columns(f), rows(S)) ***** assert (columns(t), columns(S)) ***** test [S, f, t] = specgram(x'); ***** assert (rows(S), 128) ***** assert (columns(f), rows(S)); ***** assert (columns(t), columns(S)); ***** error (isempty(specgram([]))); ***** error (isempty(specgram([1, 2 ; 3, 4]))); ***** error (specgram) ***** demo Fs=1000; x = chirp([0:1/Fs:2],0,2,500); # freq. sweep from 0-500 over 2 sec. step=ceil(20*Fs/1000); # one spectral slice every 20 ms window=ceil(100*Fs/1000); # 100 ms data window ## test of automatic plot [S, f, t] = specgram(x); specgram(x, 2^nextpow2(window), Fs, window, window-step); ***** #demo # FIXME: Enable once we have an audio file to demo ## Speech spectrogram [x, Fs] = auload(file_in_loadpath("sample.wav")); # audio file step = fix(5*Fs/1000); # one spectral slice every 5 ms window = fix(40*Fs/1000); # 40 ms data window fftn = 2^nextpow2(window); # next highest power of 2 [S, f, t] = specgram(x, fftn, Fs, window, window-step); S = abs(S(2:fftn*4000/Fs,:)); # magnitude in range 0>>>> /<>/inst/cheb2ord.m ***** demo fs = 44100; fpass = 4000; fstop = 10988; Rpass = 1; Rstop = 26; Wpass = 2 / fs * fpass; Wstop = 2 / fs * fstop; [n, Wn_p, Wn_s] = cheb2ord (Wpass, Wstop, Rpass, Rstop) [b, a] = cheby2 (n, Rstop, Wn_p); SYS = tf (b, a, 1 / fs); f = (0:fs/2)'; W = f * (2 * pi / fs); [H, P] = bode (SYS, 2 * pi * f); plot (f, 20 * log10 (abs (H))); title ("Digital Chebyshev low-pass Typ II : matching pass band"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_lp_pass_x = [f(2) , fpass(1), fpass(1)]; outline_lp_pass_y = [-Rpass, -Rpass , -80]; outline_lp_stop_x = [f(2) , fstop(1), fstop(1), max(f)]; outline_lp_stop_y = [0 , 0 , -Rstop , -Rstop]; hold on; plot (outline_lp_pass_x, outline_lp_pass_y, "m"); plot (outline_lp_stop_x, outline_lp_stop_y, "m"); ylim ([-80, 0]); ***** demo fs = 44100; fpass = 4000; fstop = 10988; Rpass = 1; Rstop = 26; Wpass = 2 / fs * fpass; Wstop = 2 / fs * fstop; [n, Wn_p, Wn_s] = cheb2ord (Wpass, Wstop, Rpass, Rstop) [b, a] = cheby2 (n, Rstop, Wn_s); SYS = tf (b, a, 1 / fs); f = (0:fs/2)'; W = f * (2 * pi / fs); [H, P] = bode (SYS, 2 * pi * f); plot (f, 20 * log10 (abs (H))); title ("Digital Chebyshev low-pass Typ II : matching stop band"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_lp_pass_x = [f(2) , fpass(1), fpass(1)]; outline_lp_pass_y = [-Rpass, -Rpass , -80]; outline_lp_stop_x = [f(2) , fstop(1), fstop(1), max(f)]; outline_lp_stop_y = [0 , 0 , -Rstop , -Rstop]; hold on; plot (outline_lp_pass_x, outline_lp_pass_y, "m"); plot (outline_lp_stop_x, outline_lp_stop_y, "m"); ylim ([-80, 0]); ***** demo fs = 44100; fstop = 4000; fpass = 10988; Rpass = 1; Rstop = 26; Wpass = 2 / fs * fpass; Wstop = 2 / fs * fstop; [n, Wn_p, Wn_s] = cheb2ord (Wpass, Wstop, Rpass, Rstop) [b, a] = cheby2 (n, Rstop, Wn_p, "high"); f = (0:fs/2)'; W = f * (2 * pi / fs); H = freqz (b, a, W); plot (f, 20 * log10 (abs (H))); title ("Digital Chebyshev high-pass Typ II : matching pass band"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_hp_pass_x = [fpass(1), fpass(1), max(f)]; outline_hp_pass_y = [-80 , -Rpass , -Rpass]; outline_hp_stop_x = [min(f) , fstop(1), fstop(1), max(f)]; outline_hp_stop_y = [-Rstop , -Rstop , 0 , 0 ]; hold on; plot (outline_hp_pass_x, outline_hp_pass_y, "m"); plot (outline_hp_stop_x, outline_hp_stop_y, "m"); ylim ([-80, 0]); ***** demo fs = 44100; fstop = 4000; fpass = 10988; Rpass = 1; Rstop = 26; Wpass = 2 / fs * fpass; Wstop = 2 / fs * fstop; [n, Wn_p, Wn_s] = cheb2ord (Wpass, Wstop, Rpass, Rstop) [b, a] = cheby2 (n, Rstop, Wn_s, "high"); f = (0:fs/2)'; W = f * (2 * pi / fs); H = freqz (b, a, W); plot (f, 20 * log10 (abs (H))); title ("Digital Chebyshev high-pass Typ II : matching stop band"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_hp_pass_x = [fpass(1), fpass(1), max(f)]; outline_hp_pass_y = [-80 , -Rpass , -Rpass]; outline_hp_stop_x = [min(f) , fstop(1), fstop(1), max(f)]; outline_hp_stop_y = [-Rstop , -Rstop , 0 , 0 ]; hold on; plot (outline_hp_pass_x, outline_hp_pass_y, "m"); plot (outline_hp_stop_x, outline_hp_stop_y, "m"); ylim ([-80, 0]); ***** demo fs = 44100; fpass = [9500 9750]; fstop = [8500, 10052]; Rpass = 1; Rstop = 26; Wpass = 2 / fs * fpass; Wstop = 2 / fs * fstop; [n, Wn_p, Wn_s] = cheb2ord (Wpass, Wstop, Rpass, Rstop) [b, a] = cheby2 (n, Rstop, Wn_p); f = (6000:14000)'; W = f * (2 * pi / fs); H = freqz (b, a, W); plot (f, 20 * log10 (abs (H))); title ("Digital Chebyshev band-pass Typ II : matching pass band, limit on upper freq"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_bp_pass_x = [fpass(1), fpass(1), fpass(2), fpass(2)]; outline_bp_pass_y = [-80 , -Rpass , -Rpass , -80]; outline_bp_stop_x = [min(f) , fstop(1), fstop(1), fstop(2), ... fstop(2), max(f)]; outline_bp_stop_y = [-Rstop , -Rstop , 0 , 0 , ... -Rstop , -Rstop]; hold on plot (outline_bp_pass_x, outline_bp_pass_y, "m"); plot (outline_bp_stop_x, outline_bp_stop_y, "m"); grid on; ylim ([-80, 0]); ***** demo fs = 44100; fpass = [9500 9750]; fstop = [8500, 10052]; Rpass = 1; Rstop = 26; Wpass = 2 / fs * fpass; Wstop = 2 / fs * fstop; [n, Wn_p, Wn_s] = cheb2ord (Wpass, Wstop, Rpass, Rstop) [b, a] = cheby2 (n, Rstop, Wn_s); f = (6000:14000)'; W = f * (2 * pi / fs); H = freqz (b, a, W); plot (f, 20 * log10 (abs (H))); title ("Digital Chebyshev band-pass Typ II : matching stop band, limit on upper freq"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_bp_pass_x = [fpass(1), fpass(1), fpass(2), fpass(2)]; outline_bp_pass_y = [-80 , -Rpass , -Rpass , -80]; outline_bp_stop_x = [min(f) , fstop(1), fstop(1), fstop(2), ... fstop(2), max(f)]; outline_bp_stop_y = [-Rstop , -Rstop , 0 , 0 , ... -Rstop , -Rstop]; hold on plot (outline_bp_pass_x, outline_bp_pass_y, "m"); plot (outline_bp_stop_x, outline_bp_stop_y, "m"); grid on; ylim ([-80, 0]); ***** demo fs = 44100; fpass = [9500 9750]; fstop = [9182 12000]; Rpass = 1; Rstop = 26; Wpass = 2 / fs * fpass; Wstop = 2 / fs * fstop; [n, Wn_p, Wn_s] = cheb2ord (Wpass, Wstop, Rpass, Rstop) [b, a] = cheby2 (n, Rstop, Wn_p); f = (6000:14000)'; W = f * (2 * pi / fs); H = freqz (b, a, W); plot (f, 20 * log10 (abs (H))); title ("Digital Chebyshev band-pass Typ II : matching pass band, limit on lower freq"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_bp_pass_x = [fpass(1), fpass(1), fpass(2), fpass(2)]; outline_bp_pass_y = [-80 , -Rpass , -Rpass , -80]; outline_bp_stop_x = [min(f) , fstop(1), fstop(1), fstop(2), ... fstop(2), max(f)]; outline_bp_stop_y = [-Rstop , -Rstop , 0 , 0 , ... -Rstop , -Rstop]; hold on plot (outline_bp_pass_x, outline_bp_pass_y, "m"); plot (outline_bp_stop_x, outline_bp_stop_y, "m"); grid on; ylim ([-80, 0]); ***** demo fs = 44100; fpass = [9500 9750]; fstop = [9182 12000]; Rpass = 1; Rstop = 26; Wpass = 2 / fs * fpass; Wstop = 2 / fs * fstop; [n, Wn_p, Wn_s] = cheb2ord (Wpass, Wstop, Rpass, Rstop) [b, a] = cheby2 (n, Rstop, Wn_s); f = (6000:14000)'; W = f * (2 * pi / fs); H = freqz (b, a, W); plot (f, 20 * log10 (abs (H))); title ("Digital Chebyshev band-pass Typ II : matching stop band, limit on lower freq"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_bp_pass_x = [fpass(1), fpass(1), fpass(2), fpass(2)]; outline_bp_pass_y = [-80 , -Rpass , -Rpass , -80]; outline_bp_stop_x = [min(f) , fstop(1), fstop(1), fstop(2), ... fstop(2), max(f)]; outline_bp_stop_y = [-Rstop , -Rstop , 0 , 0 , ... -Rstop , -Rstop]; hold on plot (outline_bp_pass_x, outline_bp_pass_y, "m"); plot (outline_bp_stop_x, outline_bp_stop_y, "m"); grid on; ylim ([-80, 0]); ***** demo fs = 44100; fstop = [9875, 10126.5823]; fpass = [8500, 10834]; Rpass = 0.5; Rstop = 40; Wpass = 2 / fs * fpass; Wstop = 2 / fs * fstop; [n, Wn_p, Wn_s] = cheb2ord (Wpass, Wstop, Rpass, Rstop) [b, a] = cheby2 (n, Rstop, Wn_p, "stop"); f = (6000:14000)'; W = f * (2 * pi / fs); H = freqz (b, a, W); Ampl = abs (H); plot (f, 20 * log10 (abs (H))); title ("Digital Chebyshev notch Typ II : matching pass band, limit on upper freq"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_notch_pass_x_a = [min(f) , fpass(1), fpass(1)]; outline_notch_pass_x_b = [fpass(2), fpass(2), max(f)]; outline_notch_pass_y_a = [-Rpass , -Rpass , -80]; outline_notch_pass_y_b = [-80 , -Rpass , -Rpass]; outline_notch_stop_x = [min(f) , fstop(1), fstop(1), fstop(2), ... fstop(2), max(f)]; outline_notch_stop_y = [0 , 0 , -Rstop , -Rstop , 0, 0 ]; hold on; plot (outline_notch_pass_x_a, outline_notch_pass_y_a, "m"); plot (outline_notch_pass_x_b, outline_notch_pass_y_b, "m"); plot (outline_notch_stop_x, outline_notch_stop_y, "m"); ylim ([-80, 0]); ***** demo fs = 44100; fstop = [9875, 10126.5823]; fpass = [8500, 10834]; Rpass = 0.5; Rstop = 40; Wpass = 2 / fs * fpass; Wstop = 2 / fs * fstop; [n, Wn_p, Wn_s] = cheb2ord (Wpass, Wstop, Rpass, Rstop) [b, a] = cheby2 (n, Rstop, Wn_s, "stop"); f = (6000:14000)'; W = f * (2 * pi / fs); H = freqz (b, a, W); Ampl = abs (H); plot (f, 20 * log10 (abs (H))); title ("Digital Chebyshev notch Typ II : matching stop band, limit on upper freq"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_notch_pass_x_a = [min(f) , fpass(1), fpass(1)]; outline_notch_pass_x_b = [fpass(2), fpass(2), max(f)]; outline_notch_pass_y_a = [-Rpass , -Rpass , -80]; outline_notch_pass_y_b = [-80 , -Rpass , -Rpass]; outline_notch_stop_x = [min(f) , fstop(1), fstop(1), fstop(2), ... fstop(2), max(f)]; outline_notch_stop_y = [0 , 0 , -Rstop , -Rstop , 0, 0 ]; hold on; plot (outline_notch_pass_x_a, outline_notch_pass_y_a, "m"); plot (outline_notch_pass_x_b, outline_notch_pass_y_b, "m"); plot (outline_notch_stop_x, outline_notch_stop_y, "m"); ylim ([-80, 0]); ***** demo fs = 44100; fstop = [9875, 10126.5823]; fpass = [9182, 12000]; Rpass = 0.5; Rstop = 40; Wpass = 2 / fs * fpass; Wstop = 2 / fs * fstop; [n, Wn_p, Wn_s] = cheb2ord (Wpass, Wstop, Rpass, Rstop) [b, a] = cheby2 (n, Rstop, Wn_p, "stop"); f = (6000:14000)'; W = f * (2 * pi / fs); H = freqz (b, a, W); Ampl = abs (H); plot (f, 20 * log10 (abs (H))); title ("Digital Chebyshev notch Typ II : matching pass band, limit on lower freq"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_notch_pass_x_a = [min(f) , fpass(1), fpass(1)]; outline_notch_pass_x_b = [fpass(2), fpass(2), max(f)]; outline_notch_pass_y_a = [-Rpass , -Rpass , -80]; outline_notch_pass_y_b = [-80 , -Rpass , -Rpass]; outline_notch_stop_x = [min(f) , fstop(1), fstop(1), fstop(2), ... fstop(2), max(f)]; outline_notch_stop_y = [0 , 0 , -Rstop , -Rstop , 0, 0 ]; hold on; plot (outline_notch_pass_x_a, outline_notch_pass_y_a, "m"); plot (outline_notch_pass_x_b, outline_notch_pass_y_b, "m"); plot (outline_notch_stop_x, outline_notch_stop_y, "m"); ylim ([-80, 0]); ***** demo fs = 44100; fstop = [9875, 10126.5823]; fpass = [9182, 12000]; Rpass = 0.5; Rstop = 40; Wpass = 2 / fs * fpass; Wstop = 2 / fs * fstop; [n, Wn_p, Wn_s] = cheb2ord (Wpass, Wstop, Rpass, Rstop) [b, a] = cheby2 (n, Rstop, Wn_s, "stop"); f = (6000:14000)'; W = f * (2 * pi / fs); H = freqz (b, a, W); Ampl = abs (H); plot (f, 20 * log10 (abs (H))); title ("Digital Chebyshev notch Typ II : matching stop band, limit on lower freq"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_notch_pass_x_a = [min(f) , fpass(1), fpass(1)]; outline_notch_pass_x_b = [fpass(2), fpass(2), max(f)]; outline_notch_pass_y_a = [-Rpass , -Rpass , -80]; outline_notch_pass_y_b = [-80 , -Rpass , -Rpass]; outline_notch_stop_x = [min(f) , fstop(1), fstop(1), fstop(2), ... fstop(2), max(f)]; outline_notch_stop_y = [0 , 0 , -Rstop , -Rstop , 0, 0 ]; hold on; plot (outline_notch_pass_x_a, outline_notch_pass_y_a, "m"); plot (outline_notch_pass_x_b, outline_notch_pass_y_b, "m"); plot (outline_notch_stop_x, outline_notch_stop_y, "m"); ylim ([-80, 0]); ***** demo fpass = 4000; fstop = 13584; Rpass = 1; Rstop = 26; Wpass = 2 * pi * fpass; Wstop = 2 * pi * fstop; [n, Wn_p, Wn_s] = cheb2ord (Wpass, Wstop, Rpass, Rstop, "s") [b, a] = cheby2 (n, Rstop, Wn_p, "s"); f = 1000:10:100000; W = 2 * pi * f; H = freqs (b, a, W); semilogx (f, 20 * log10 (abs (H))); title ("Analog Chebyshev low-pass Typ II : matching pass band"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_lp_pass_x = [f(2) , fpass(1), fpass(1)]; outline_lp_pass_y = [-Rpass, -Rpass , -80]; outline_lp_stop_x = [f(2) , fstop(1), fstop(1), max(f)]; outline_lp_stop_y = [0 , 0 , -Rstop , -Rstop]; hold on; plot (outline_lp_pass_x, outline_lp_pass_y, "m"); plot (outline_lp_stop_x, outline_lp_stop_y, "m"); ylim ([-80, 0]); ***** demo fpass = 4000; fstop = 13584; Rpass = 1; Rstop = 26; Wpass = 2 * pi * fpass; Wstop = 2 * pi * fstop; [n, Wn_p, Wn_s] = cheb2ord (Wpass, Wstop, Rpass, Rstop, "s") [b, a] = cheby2 (n, Rstop, Wn_s, "s"); f = 1000:10:100000; W = 2 * pi * f; H = freqs (b, a, W); semilogx (f, 20 * log10 (abs (H))); title ("Analog Chebyshev low-pass Typ II : matching stop band"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_lp_pass_x = [f(2) , fpass(1), fpass(1)]; outline_lp_pass_y = [-Rpass, -Rpass , -80]; outline_lp_stop_x = [f(2) , fstop(1), fstop(1), max(f)]; outline_lp_stop_y = [0 , 0 , -Rstop , -Rstop]; hold on; plot (outline_lp_pass_x, outline_lp_pass_y, "m"); plot (outline_lp_stop_x, outline_lp_stop_y, "m"); ylim ([-80, 0]); ***** demo fstop = 4000; fpass = 13584; Rpass = 1; Rstop = 26; Wpass = 2 * pi * fpass; Wstop = 2 * pi * fstop; [n, Wn_p, Wn_s] = cheb2ord (Wpass, Wstop, Rpass, Rstop, "s") [b, a] = cheby2 (n, Rstop, Wn_p, "high", "s"); f = 1000:10:100000; W = 2 * pi * f; H = freqs (b, a, W); semilogx (f, 20 * log10 (abs (H))); title ("Analog Chebyshev high-pass Typ II : matching pass band"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_hp_pass_x = [fpass(1), fpass(1), max(f)]; outline_hp_pass_y = [-80 , -Rpass , -Rpass]; outline_hp_stop_x = [f(2) , fstop(1), fstop(1), max(f)]; outline_hp_stop_y = [-Rstop , -Rstop , 0 , 0 ]; hold on; plot (outline_hp_pass_x, outline_hp_pass_y, "m"); plot (outline_hp_stop_x, outline_hp_stop_y, "m"); ylim ([-80, 0]); ***** demo fstop = 4000; fpass = 13584; Rpass = 1; Rstop = 26; Wpass = 2 * pi * fpass; Wstop = 2 * pi * fstop; [n, Wn_p, Wn_s] = cheb2ord (Wpass, Wstop, Rpass, Rstop, "s") [b, a] = cheby2 (n, Rstop, Wn_s, "high", "s"); f = 1000:10:100000; W = 2 * pi * f; H = freqs (b, a, W); semilogx (f, 20 * log10 (abs (H))); title ("Analog Chebyshev high-pass Typ II : matching stop band"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_hp_pass_x = [fpass(1), fpass(1), max(f)]; outline_hp_pass_y = [-80 , -Rpass , -Rpass]; outline_hp_stop_x = [f(2) , fstop(1), fstop(1), max(f)]; outline_hp_stop_y = [-Rstop , -Rstop , 0 , 0 ]; hold on; plot (outline_hp_pass_x, outline_hp_pass_y, "m"); plot (outline_hp_stop_x, outline_hp_stop_y, "m"); ylim ([-80, 0]); ***** demo fpass = [9875, 10126.5823]; fstop = [9000, 10437]; Rpass = 1; Rstop = 26; Wpass = 2 * pi * fpass; Wstop = 2 * pi * fstop; [n, Wn_p, Wn_s] = cheb2ord (Wpass, Wstop, Rpass, Rstop, "s") [b, a] = cheby2 (n, Rstop, Wn_p, "s"); f = 6000:14000; W = 2 * pi * f; H = freqs (b, a, W); plot (f, 20 * log10 (abs (H))); title ("Analog Chebyshev band-pass Typ II : matching pass band, limit on upper freq"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_bp_pass_x = [fpass(1), fpass(1), fpass(2), fpass(2)]; outline_bp_pass_y = [-80 , -Rpass , -Rpass , -80]; outline_bp_stop_x = [f(2) , fstop(1), fstop(1), fstop(2), ... fstop(2), max(f)]; outline_bp_stop_y = [-Rstop , -Rstop , 0 , 0 , ... -Rstop , -Rstop]; hold on plot (outline_bp_pass_x, outline_bp_pass_y, "m"); plot (outline_bp_stop_x, outline_bp_stop_y, "m"); grid on; ylim ([-80, 0]); ***** demo fpass = [9875, 10126.5823]; fstop = [9000, 10437]; Rpass = 1; Rstop = 26; Wpass = 2 * pi * fpass; Wstop = 2 * pi * fstop; [n, Wn_p, Wn_s] = cheb2ord (Wpass, Wstop, Rpass, Rstop, "s") [b, a] = cheby2 (n, Rstop, Wn_s, "s"); f = 6000:14000; W = 2 * pi * f; H = freqs (b, a, W); plot (f, 20 * log10 (abs (H))); title ("Analog Chebyshev band-pass Typ II : matching stop band, limit on upper freq"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_bp_pass_x = [fpass(1), fpass(1), fpass(2), fpass(2)]; outline_bp_pass_y = [-80 , -Rpass , -Rpass , -80]; outline_bp_stop_x = [f(2) , fstop(1), fstop(1), fstop(2), ... fstop(2), max(f)]; outline_bp_stop_y = [-Rstop , -Rstop , 0 , 0 , ... -Rstop , -Rstop]; hold on plot (outline_bp_pass_x, outline_bp_pass_y, "m"); plot (outline_bp_stop_x, outline_bp_stop_y, "m"); grid on; ylim ([-80, 0]); ***** demo fpass = [9875, 10126.5823]; fstop = [9581, 12000]; Rpass = 1; Rstop = 26; Wpass = 2 * pi * fpass; Wstop = 2 * pi * fstop; [n, Wn_p, Wn_s] = cheb2ord (Wpass, Wstop, Rpass, Rstop, "s") [b, a] = cheby2 (n, Rstop, Wn_p, "s"); f = 6000:14000; W = 2 * pi * f; H = freqs (b, a, W); plot (f, 20 * log10 (abs (H))); title ("Analog Chebyshev band-pass Typ II : matching pass band, limit on lower freq"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_bp_pass_x = [fpass(1), fpass(1), fpass(2), fpass(2)]; outline_bp_pass_y = [-80 , -Rpass , -Rpass , -80]; outline_bp_stop_x = [f(2) , fstop(1), fstop(1), fstop(2), ... fstop(2), max(f)]; outline_bp_stop_y = [-Rstop , -Rstop , 0 , 0 , ... -Rstop , -Rstop]; hold on plot (outline_bp_pass_x, outline_bp_pass_y, "m"); plot (outline_bp_stop_x, outline_bp_stop_y, "m"); grid on; ylim ([-80, 0]); ***** demo fpass = [9875, 10126.5823]; fstop = [9581, 12000]; Rpass = 1; Rstop = 26; Wpass = 2 * pi * fpass; Wstop = 2 * pi * fstop; [n, Wn_p, Wn_s] = cheb2ord (Wpass, Wstop, Rpass, Rstop, "s") [b, a] = cheby2 (n, Rstop, Wn_s, "s"); f = 6000:14000; W = 2 * pi * f; H = freqs (b, a, W); plot (f, 20 * log10 (abs (H))); title ("Analog Chebyshev band-pass Typ II : matching stop band, limit on lower freq"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_bp_pass_x = [fpass(1), fpass(1), fpass(2), fpass(2)]; outline_bp_pass_y = [-80 , -Rpass , -Rpass , -80]; outline_bp_stop_x = [f(2) , fstop(1), fstop(1), fstop(2), ... fstop(2), max(f)]; outline_bp_stop_y = [-Rstop , -Rstop , 0 , 0 , ... -Rstop , -Rstop]; hold on plot (outline_bp_pass_x, outline_bp_pass_y, "m"); plot (outline_bp_stop_x, outline_bp_stop_y, "m"); grid on; ylim ([-80, 0]); ***** demo fstop = [9875, 10126.5823]; fpass = [9000, 10437]; Rpass = 1; Rstop = 26; Wpass = 2 * pi * fpass; Wstop = 2 * pi * fstop; [n, Wn_p, Wn_s] = cheb2ord (Wpass, Wstop, Rpass, Rstop, "s") [b, a] = cheby2 (n, Rstop, Wn_p, "stop", "s"); f = 6000:14000; W = 2 * pi * f; H = freqs (b, a, W); plot (f, 20 * log10 (abs (H))); title ("Analog Chebyshev notch Typ II : matching pass band, limit on upper freq"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_notch_pass_x_a = [f(2) , fpass(1), fpass(1)]; outline_notch_pass_x_b = [fpass(2), fpass(2), max(f)]; outline_notch_pass_y_a = [-Rpass , -Rpass , -80]; outline_notch_pass_y_b = [-80 , -Rpass , -Rpass]; outline_notch_stop_x = [f(2) , fstop(1), fstop(1), fstop(2), ... fstop(2), max(f)]; outline_notch_stop_y = [0 , 0 , -Rstop , -Rstop , 0, 0 ]; hold on plot (outline_notch_pass_x_a, outline_notch_pass_y_a, "m"); plot (outline_notch_pass_x_b, outline_notch_pass_y_b, "m"); plot (outline_notch_stop_x, outline_notch_stop_y, "m"); ylim ([-80, 0]); ***** demo fstop = [9875, 10126.5823]; fpass = [9000, 10437]; Rpass = 1; Rstop = 26; Wpass = 2 * pi * fpass; Wstop = 2 * pi * fstop; [n, Wn_p, Wn_s] = cheb2ord (Wpass, Wstop, Rpass, Rstop, "s") [b, a] = cheby2 (n, Rstop, Wn_s, "stop", "s"); f = 6000:14000; W = 2 * pi * f; H = freqs (b, a, W); plot (f, 20 * log10 (abs (H))); title ("Analog Chebyshev notch Typ II : matching stop band, limit on upper freq"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_notch_pass_x_a = [f(2) , fpass(1), fpass(1)]; outline_notch_pass_x_b = [fpass(2), fpass(2), max(f)]; outline_notch_pass_y_a = [-Rpass , -Rpass , -80]; outline_notch_pass_y_b = [-80 , -Rpass , -Rpass]; outline_notch_stop_x = [f(2) , fstop(1), fstop(1), fstop(2), ... fstop(2), max(f)]; outline_notch_stop_y = [0 , 0 , -Rstop , -Rstop , 0, 0 ]; hold on plot (outline_notch_pass_x_a, outline_notch_pass_y_a, "m"); plot (outline_notch_pass_x_b, outline_notch_pass_y_b, "m"); plot (outline_notch_stop_x, outline_notch_stop_y, "m"); ylim ([-80, 0]); ***** demo fstop = [9875, 10126.5823]; fpass = [9581 12000]; Rpass = 1; Rstop = 26; Wpass = 2 * pi * fpass; Wstop = 2 * pi * fstop; [n, Wn_p, Wn_s] = cheb2ord (Wpass, Wstop, Rpass, Rstop, "s") [b, a] = cheby2 (n, Rstop, Wn_p, "stop", "s"); f = 6000:14000; W = 2 * pi * f; H = freqs (b, a, W); plot (f, 20 * log10 (abs (H))); title ("Analog Chebyshev notch Typ II : matching pass band, limit on lower freq"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_notch_pass_x_a = [f(2) , fpass(1), fpass(1)]; outline_notch_pass_x_b = [fpass(2), fpass(2), max(f)]; outline_notch_pass_y_a = [-Rpass , -Rpass , -80]; outline_notch_pass_y_b = [-80 , -Rpass , -Rpass]; outline_notch_stop_x = [f(2) , fstop(1), fstop(1), fstop(2), ... fstop(2), max(f)]; outline_notch_stop_y = [0 , 0 , -Rstop , -Rstop , 0, 0 ]; hold on plot (outline_notch_pass_x_a, outline_notch_pass_y_a, "m"); plot (outline_notch_pass_x_b, outline_notch_pass_y_b, "m"); plot (outline_notch_stop_x, outline_notch_stop_y, "m"); ylim ([-80, 0]); ***** demo fstop = [9875, 10126.5823]; fpass = [9581 12000]; Rpass = 1; Rstop = 26; Wpass = 2 * pi * fpass; Wstop = 2 * pi * fstop; [n, Wn_p, Wn_s] = cheb2ord (Wpass, Wstop, Rpass, Rstop, "s") [b, a] = cheby2 (n, Rstop, Wn_s, "stop", "s"); f = 6000:14000; W = 2 * pi * f; H = freqs (b, a, W); plot (f, 20 * log10 (abs (H))); title ("Analog Chebyshev notch Typ II : matching stop band, limit on lower freq"); xlabel ("Frequency (Hz)"); ylabel ("Attenuation (dB)"); grid on; outline_notch_pass_x_a = [f(2) , fpass(1), fpass(1)]; outline_notch_pass_x_b = [fpass(2), fpass(2), max(f)]; outline_notch_pass_y_a = [-Rpass , -Rpass , -80]; outline_notch_pass_y_b = [-80 , -Rpass , -Rpass]; outline_notch_stop_x = [f(2) , fstop(1), fstop(1), fstop(2), ... fstop(2), max(f)]; outline_notch_stop_y = [0 , 0 , -Rstop , -Rstop , 0, 0 ]; hold on plot (outline_notch_pass_x_a, outline_notch_pass_y_a, "m"); plot (outline_notch_pass_x_b, outline_notch_pass_y_b, "m"); plot (outline_notch_stop_x, outline_notch_stop_y, "m"); ylim ([-80, 0]); ***** test # Analog band-pass [n, Wn_p, Wn_s] = cheb2ord (2 * pi * [9875, 10126.5823], ... 2 * pi * [9000, 10437], 1, 26, "s"); assert (n, 3); assert (round (Wn_p), [61074, 64640]); assert (round (Wn_s), [60201, 65578]); ***** test # Analog band-pass [n, Wn_p, Wn_s] = cheb2ord (2 * pi * [9875, 10126.5823], ... 2 * pi * [9581 12000], 1, 26, "s"); assert (n, 3); assert (round (Wn_p), [61074, 64640]); assert (round (Wn_s), [60199, 65580]); ***** test # Analog high-pass [n, Wn_p, Wn_s] = cheb2ord (2 * pi * 13584, 2 * pi * 4000, 1, 26, "s"); assert (n, 3); assert (round (Wn_p), 37832); assert (round (Wn_s), 25133); ***** test # Analog low-pass [n, Wn_p, Wn_s] = cheb2ord (2 * pi * 4000, 2 * pi * 13584, 1, 26, "s"); assert (n, 3); assert (round (Wn_p), 56700); assert (round (Wn_s), 85351); ***** test # Analog notch (narrow band-stop) [n, Wn_p, Wn_s] = cheb2ord (2 * pi * [9000, 10437], ... 2 * pi * [9875, 10126.5823], 1, 26, "s"); assert (n, 3); assert (round (Wn_p), [61652, 64035]); assert (round (Wn_s), [62046, 63627]); ***** test # Analog notch (narrow band-stop) [n, Wn_p, Wn_s] = cheb2ord (2 * pi * [9581, 12000], ... 2 * pi * [9875, 10126.5823], 1, 26, "s"); assert (n, 3); assert (round (Wn_p), [61651, 64036]); assert (round (Wn_s), [62046, 63627]); ***** test # Digital band-pass fs = 44100; [n, Wn_p, Wn_s] = cheb2ord (2 / fs * [9500, 9750], ... 2 / fs * [8500, 10052], 1, 26); Wn_p = Wn_p * fs / 2; Wn_s = Wn_s * fs / 2; assert (n, 3); assert (round (Wn_p), [9344, 9908]); assert (round (Wn_s), [9203, 10052]); ***** test # Digital band-pass fs = 44100; [n, Wn_p, Wn_s] = cheb2ord (2 / fs * [9500, 9750], ... 2 / fs * [9182, 12000], 1, 26); Wn_p = Wn_p * fs / 2; Wn_s = Wn_s * fs / 2; assert (n, 3); assert (round (Wn_p), [9344, 9908]); assert (round (Wn_s), [9182, 10073]); ***** test # Digital high-pass fs = 44100; [n, Wn_p, Wn_s] = cheb2ord (2 / fs * 10988, 2 / fs * 4000, 1, 26); Wn_p = Wn_p * fs / 2; Wn_s = Wn_s * fs / 2; assert (n, 3); assert (round (Wn_p), 5829); assert (round (Wn_s), 4000); ***** test # Digital low-pass fs = 44100; [n, Wn_p, Wn_s] = cheb2ord (2 / fs * 4000, 2 / fs * 10988, 1, 26); Wn_p = Wn_p * fs / 2; Wn_s = Wn_s * fs / 2; assert (n, 3); assert (round (Wn_p), 8197); assert (round (Wn_s), 10988); ***** test # Digital notch (narrow band-stop) fs = 44100; [n, Wn_p, Wn_s] = cheb2ord (2 / fs * [8500, 10834], ... 2 / fs * [9875, 10126.5823], 0.5, 40); Wn_p = Wn_p * fs / 2; Wn_s = Wn_s * fs / 2; assert (n, 3); assert (round (Wn_p), [9804, 10198]); assert (round (Wn_s), [9875, 10127]); ***** test # Digital notch (narrow band-stop) fs = 44100; [n, Wn_p, Wn_s] = cheb2ord (2 / fs * [9182 12000], ... 2 / fs * [9875, 10126.5823], 0.5, 40); Wn_p = Wn_p * fs / 2; Wn_s = Wn_s * fs / 2; assert (n, 3); assert (round (Wn_p), [9804, 10198]); assert (round (Wn_s), [9875, 10127]); ***** error cheb2ord () ***** error cheb2ord (.1) ***** error cheb2ord (.1, .2) ***** error cheb2ord (.1, .2, 3) ***** error cheb2ord ([.1 .1], [.2 .2], 3, 4) ***** error cheb2ord ([.1 .2], [.5 .6], 3, 4) ***** error cheb2ord ([.1 .5], [.2 .6], 3, 4) 19 tests, 19 passed, 0 known failure, 0 skipped [inst/data2fun.m] >>>>> /<>/inst/data2fun.m ***** shared t, y t = linspace (0, 1, 10); y = t.^2 - 2*t + 1; ***** test fhandle = data2fun (t, y); assert (y, fhandle (t)); ***** test unwind_protect [fhandle fname] = data2fun (t, y, "file", "testdata2fun"); yt = testdata2fun (t); assert (y, yt); assert (y, fhandle (t)); unwind_protect_cleanup unlink (fname); unlink ([fname(1:end-2) ".mat"]); end_unwind_protect ***** test unwind_protect [fhandle fname] = data2fun (t, y, "file", ""); yt = testdata2fun (t); assert (y, yt); assert (y, fhandle (t)); unwind_protect_cleanup unlink (fname); unlink ([fname(1:end-2) ".mat"]); end_unwind_protect ***** test unwind_protect [fhandle fname] = data2fun (t, y, "file", "testdata2fun", "interp", "linear"); yt = testdata2fun (t); assert (y, yt); assert (y, fhandle (t)); unwind_protect_cleanup unlink (fname); unlink ([fname(1:end-2) ".mat"]); end_unwind_protect ***** error data2fun () ***** error data2fun (1) ***** error data2fun (1, 2, "file") 7 tests, 7 passed, 0 known failure, 0 skipped [inst/peak2peak.m] >>>>> /<>/inst/peak2peak.m ***** test X = [23 42 85; 62 46 65; 18 40 28]; Y = peak2peak (X); assert (Y, [44 6 57]); Y = peak2peak (X, 1); assert (Y, [44 6 57]); Y = peak2peak (X, 2); assert (Y, [62; 19; 22]); ***** test X = [71 62 33]; X(:, :, 2) = [88 36 21]; X(:, :, 3) = [83 46 85]; Y = peak2peak (X); T = [38]; T(:, :, 2) = [67]; T(:, :, 3) = [39]; assert (Y, T); ***** test X = [71 72 22; 16 22 50; 29 44 14]; X(:, :, 2) = [10 15 62; 1 94 30; 72 43 53]; X(:, :, 3) = [57 98 32; 84 95 51; 25 24 0]; Y = peak2peak (X); T = [55 50 36]; T(:, :, 2) = [71 79 32]; T(:, :, 3) = [59 74 51]; assert (Y, T); Y = peak2peak (X, 2); T = [50; 34; 30]; T(:, :, 2) = [52; 93; 29]; T(:, :, 3) = [66; 44; 25]; assert (Y, T); Y = peak2peak (X, 3); T = [61 83 40; 83 73 21; 47 20 53]; assert (Y, T); ***** test X = [60 61; 77 77]; X(:, :, 2) = [24 24; 22 74]; temp = [81 87; 88 62]; temp(:, :, 2) = [20 83; 81 18]; X(:, :, :, 2) = temp; Y = peak2peak (X); T = [17 16]; T(:, :, 2) = [2 50]; T2 = [7 25]; T2(:, :, 2) = [61 65]; T(:, :, :, 2) = T2; assert (Y, T); ***** error peak2peak () ***** error peak2peak (1, 2, 3) ***** error peak2peak (1, 1.5) ***** error peak2peak (1, 0) 8 tests, 8 passed, 0 known failure, 0 skipped [inst/peak2rms.m] >>>>> /<>/inst/peak2rms.m ***** assert (peak2rms (1), 1) ***** assert (peak2rms (-5), 1) ***** assert (peak2rms ([-2 3; 4 -2]), [4/sqrt(10), 3/sqrt((9+4)/2)]) ***** assert (peak2rms ([-2 3; 4 -2], 2), [3/sqrt((9+4)/2); 4/sqrt(10)]) ***** assert (peak2rms ([1 2 3], 3), [1 1 1]) ***** error peak2rms () ***** error peak2rms (1, 2, 3) ***** error peak2rms (1, 1.5) ***** error peak2rms (1, -1) 9 tests, 9 passed, 0 known failure, 0 skipped Checking C++ files ... [src/cl2bp.cc] >>>>> /<>/src/cl2bp.cc ***** test b = [ 0.0000000000000000 0.0563980420304213 -0.0000000000000000 -0.0119990278695041 -0.0000000000000001 -0.3016146759510104 0.0000000000000001 0.5244313235801866 0.0000000000000001 -0.3016146759510104 -0.0000000000000001 -0.0119990278695041 -0.0000000000000000 0.0563980420304213 0.0000000000000000]; assert(cl2bp(7, 0.25*pi, 0.75*pi, [0.01, 1.04, 0.01], [-0.01, 0.96, -0.01], 2^11), b, 1e-14); 1 test, 1 passed, 0 known failure, 0 skipped [src/remez.cc] >>>>> /<>/src/remez.cc ***** test b = [ 0.0415131831103279 0.0581639884202646 -0.0281579212691008 -0.0535575358002337 -0.0617245915143180 0.0507753178978075 0.2079018331396460 0.3327160895375440 0.3327160895375440 0.2079018331396460 0.0507753178978075 -0.0617245915143180 -0.0535575358002337 -0.0281579212691008 0.0581639884202646 0.0415131831103279]; assert(remez(15,[0,0.3,0.4,1],[1,1,0,0]),b,1e-14); 1 test, 1 passed, 0 known failure, 0 skipped [src/upfirdn.cc] >>>>> /<>/src/upfirdn.cc ***** assert (isequal (upfirdn (1:100, 1, 1, 1), 1:100)) ***** assert (isequal (upfirdn (1:100, 1, 1, 2), 1:2:100)) ***** error upfirdn () ***** error upfirdn (1,2) ***** error upfirdn (1,2,3) ***** error upfirdn (1,2,3,4,5) 6 tests, 6 passed, 0 known failure, 0 skipped [src/medfilt1.cc] >>>>> /<>/src/medfilt1.cc ***** assert (medfilt1 ([1 2 3 4 3 2 1]), [1 2 3 3 3 2 1]); ***** assert (medfilt1 ([1 2 3 4 3 2 1]'), [1 2 3 3 3 2 1]'); ***** assert (medfilt1 ([1 2 3 4 3 2 1], "truncate"), [1.5 2 3 3 3 2 1.5]); ***** assert (medfilt1 ([-1 2 3 4 3 -2 1], "truncate"), [0.5 2 3 3 3 1 -0.5]); ***** assert (medfilt1 ([-1 2 3 4 3 -2 1], "zeropad"), [0 2 3 3 3 1 0]); ***** assert (medfilt1 ([]), []); ***** test A = [1 2 3 ; 6 5 4 ; 6 5 2 ]; assert (medfilt1 (A,4,[],2), [0.5 1.5 1.5; 2.5 4.5 4.5; 2.5 3.5 3.5]); assert (medfilt1 (A,4,[],1), [0.5 3.5 3.5; 1 3.5 3.5; 1.5 2.5 2.5]'); assert (medfilt1 (A,3,[],1), [1 2 3; 6 5 3; 6 5 2]); ***** test A = [ Inf 4 -4 NaN -1 -1 -3 -2 1 -Inf]; B = medfilt1 (A, 7, [], 1, 'includenan', 'zeropad'); assert (B, [0, 0, 0, NaN, 0, 0, 0, 0, 0, 0]); B = medfilt1 (A, 7, [], 2, 'includenan', 'zeropad'); assert (B, [NaN, NaN, NaN, NaN, NaN, NaN, NaN, -1, -1, 0]); B = medfilt1 (A, 7, [], 2, 'includenan', 'truncate'); assert (B, [NaN, NaN, NaN, NaN, NaN, NaN, NaN, -1.5, -2, -2.5]); B = medfilt1 (A, 7, [], 2, 'omitnan', 'zeropad'); assert (B, [0, 0, -0.5, -1, -1.5, -1.5, -1.5, -1, -1, 0]); B = medfilt1 (A, 7, [], 2, 'omitnan', 'truncate'); assert (B, [4, 1.5, -1, -1, -1.5, -1.5, -1.5, -1.5, -2, -2.5]); ***** test A = medfilt1 ([ NaN NaN -Inf], 4, [], 2, 'omitnan', 'truncate'); assert (A, [NaN, -Inf, -Inf]); ***** test A = medfilt1 ([-2 Inf -2; 1 3 -Inf; 1 0 -Inf], 1, [], 2); assert (A, [-2 Inf -2; 1 3 -Inf; 1 0 -Inf]); ***** test A = medfilt1 ([-Inf 0 -3; Inf 1 NaN], 9, [], 1); assert (A, [0, 0, NaN; 0, 0, NaN]); A = medfilt1 ([-Inf 0 -3; Inf 1 NaN], 9, [], 1, 'omitnan', 'truncate'); assert (A, [NaN, 0.5, -3; NaN, 0.5, -3]); ***** test A = medfilt1 ([Inf -3 Inf Inf 0 -2; Inf 1 NaN 5 5 -3], 3, [], 1); assert (A, [Inf, 0, NaN, 5, 0, -2; Inf, 0, NaN, 5, 0, -2]); ***** test A = medfilt1 ([3 3 7 5 6]', 5, [], 1, 'omitnan', 'truncate'); assert (A, [3, 4, 5, 5.5, 6]'); A = medfilt1 ([3 3 7 5 6]', 5, [], 2, 'omitnan', 'truncate'); assert (A, [3, 3, 7, 5, 6]'); ***** test A = medfilt1 ([3 1 4 1 3], 3, 'omitnan', 'truncate'); assert (A, [2, 3, 1, 3, 2]); ***** test A = medfilt1 ([3 1 4 1 3], 6, 'omitnan', 'truncate'); assert (A, [3, 2, 3, 3, 2]); ***** test A = medfilt1 ([1 2 3 4 4 3 2 1; 6 5 4 3 3 4 5 6; 6 5 4 3 2 1 0 -1; 6 5 4 3 2 1 0 -1]); assert (A, [1 2 3 3 3 3 2 1; 6 5 4 3 3 3 2 1; 6 5 4 3 2 1 0 -1; 6 5 4 3 2 1 0 -1]); ***** error (medfilt1 ([1 2 3], -1)); ***** error (medfilt1 ([1 2 3], 1, [], "hello")); ***** error (medfilt1 ([1 2 3], 1, [], "omitnan", false)); ***** error (medfilt1 ({1 2 3})); 20 tests, 20 passed, 0 known failure, 0 skipped [src/__ultrwin__.cc] >>>>> /<>/src/__ultrwin__.cc ***** assert (1) 1 test, 1 passed, 0 known failure, 0 skipped [src/__fwht__.cc] >>>>> /<>/src/__fwht__.cc ***** assert (1) 1 test, 1 passed, 0 known failure, 0 skipped Summary: 799 tests, 798 passed, 1 known failures, 0 skipped dh_installdocs -a -O--buildsystem=octave dh_installchangelogs -a -O--buildsystem=octave dh_octave_changelogs -a -O--buildsystem=octave dh_octave_examples -a -O--buildsystem=octave dh_installinit -a -O--buildsystem=octave dh_installsystemduser -a -O--buildsystem=octave dh_perl -a -O--buildsystem=octave dh_link -a -O--buildsystem=octave dh_strip_nondeterminism -a -O--buildsystem=octave dh_compress -a -O--buildsystem=octave dh_fixperms -a -O--buildsystem=octave dh_missing -a -O--buildsystem=octave dh_dwz -a -O--buildsystem=octave dh_strip -a -O--buildsystem=octave dh_makeshlibs -a -O--buildsystem=octave dh_shlibdeps -a -O--buildsystem=octave dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/octave-signal/usr/lib/i386-linux-gnu/octave/packages/signal-1.4.1/i686-pc-linux-gnu-api-v53/__ultrwin__.oct debian/octave-signal/usr/lib/i386-linux-gnu/octave/packages/signal-1.4.1/i686-pc-linux-gnu-api-v53/upfirdn.oct debian/octave-signal/usr/lib/i386-linux-gnu/octave/packages/signal-1.4.1/i686-pc-linux-gnu-api-v53/sosfilt.oct debian/octave-signal/usr/lib/i386-linux-gnu/octave/packages/signal-1.4.1/i686-pc-linux-gnu-api-v53/remez.oct debian/octave-signal/usr/lib/i386-linux-gnu/octave/packages/signal-1.4.1/i686-pc-linux-gnu-api-v53/cl2bp.oct debian/octave-signal/usr/lib/i386-linux-gnu/octave/packages/signal-1.4.1/i686-pc-linux-gnu-api-v53/medfilt1.oct debian/octave-signal/usr/lib/i386-linux-gnu/octave/packages/signal-1.4.1/i686-pc-linux-gnu-api-v53/__fwht__.oct were not linked against libpthread.so.0 (they use none of the library's symbols) dh_octave_substvar -a -O--buildsystem=octave dh_installdeb -a -O--buildsystem=octave dh_gencontrol -a -O--buildsystem=octave dpkg-gencontrol: warning: package octave-signal: substitution variable ${octave:Upstream-Description} unused, but is defined dpkg-gencontrol: warning: package octave-signal: substitution variable ${octave:Upstream-Description} unused, but is defined dh_md5sums -a -O--buildsystem=octave dh_builddeb -a -O--buildsystem=octave INFO: pkgstriptranslations version 144 INFO: pkgstriptranslations version 144 pkgstriptranslations: processing octave-signal (in debian/octave-signal); do_strip: , oemstrip: pkgstriptranslations: processing octave-signal-dbgsym (in debian/.debhelper/octave-signal/dbgsym-root); do_strip: , oemstrip: pkgmaintainermangler: Maintainer field overridden to "Ubuntu Developers " pkgmaintainermangler: Maintainer field overridden to "Ubuntu Developers " pkgstripfiles: processing control file: debian/octave-signal/DEBIAN/control, package octave-signal, directory debian/octave-signal pkgstripfiles: Truncating usr/share/doc/octave-signal/changelog.Debian.gz to topmost ten records pkgstripfiles: processing control file: debian/.debhelper/octave-signal/dbgsym-root/DEBIAN/control, package octave-signal-dbgsym, directory debian/.debhelper/octave-signal/dbgsym-root dpkg-deb: building package 'octave-signal-dbgsym' in 'debian/.debhelper/scratch-space/build-octave-signal/octave-signal-dbgsym_1.4.1-3_i386.deb'. pkgstripfiles: Running PNG optimization (using 4 cpus) for package octave-signal ... pkgstripfiles: No PNG files. dpkg-deb: building package 'octave-signal' in '../octave-signal_1.4.1-3_i386.deb'. Renaming octave-signal-dbgsym_1.4.1-3_i386.deb to octave-signal-dbgsym_1.4.1-3_i386.ddeb dpkg-genbuildinfo --build=any dpkg-genchanges --build=any -mLaunchpad Build Daemon >../octave-signal_1.4.1-3_i386.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) -------------------------------------------------------------------------------- Build finished at 20191109-1112 Finished -------- I: Built successfully +------------------------------------------------------------------------------+ | Post Build Chroot | +------------------------------------------------------------------------------+ +------------------------------------------------------------------------------+ | Changes | +------------------------------------------------------------------------------+ octave-signal_1.4.1-3_i386.changes: ----------------------------------- Format: 1.8 Date: Fri, 08 Nov 2019 13:01:37 -0300 Source: octave-signal Binary: octave-signal Architecture: i386 Version: 1.4.1-3 Distribution: focal-proposed Urgency: medium Maintainer: Launchpad Build Daemon Changed-By: Rafael Laboissiere Description: octave-signal - signal processing functions for Octave Changes: octave-signal (1.4.1-3) unstable; urgency=medium . * d/control: + Bump Standards-Version to 4.4.1 (no changes needed) + Bump dependency on dh-octave to >= 0.7.1 This allows the injection of the virtual package octave-abi-N into the package's list of dependencies. Checksums-Sha1: 63487de92562d80ea5368542fbc0dc8b8952ca5e 1167212 octave-signal-dbgsym_1.4.1-3_i386.ddeb 74590e83c28b951c3ba52f4b650f49eb481e9870 16116 octave-signal_1.4.1-3_i386.buildinfo fae46520dd21b640d8504471482151a31c36897b 205176 octave-signal_1.4.1-3_i386.deb Checksums-Sha256: 440e712bd40998c703bbb9e6bde23395a437ead5826261135a18180e21856541 1167212 octave-signal-dbgsym_1.4.1-3_i386.ddeb b44331d95380561b6cc81d994cd90948724ca73b8ad794f607d76fe2fc3197f1 16116 octave-signal_1.4.1-3_i386.buildinfo d293afa95aaba9952220fcb8b6bc81ea81808abb5750c58294b66305707011f1 205176 octave-signal_1.4.1-3_i386.deb Files: 7f8b611511c1d190640d4e751a189851 1167212 debug optional octave-signal-dbgsym_1.4.1-3_i386.ddeb c72241c867ffdbf5735b42d1083fce6e 16116 math optional octave-signal_1.4.1-3_i386.buildinfo 470703d3aecdd0c3fec415829402eabe 205176 math optional octave-signal_1.4.1-3_i386.deb +------------------------------------------------------------------------------+ | Package contents | +------------------------------------------------------------------------------+ octave-signal_1.4.1-3_i386.deb ------------------------------ new debian package, version 2.0. size 205176 bytes: control archive=5168 bytes. 878 bytes, 20 lines control 14986 bytes, 176 lines md5sums Package: octave-signal Version: 1.4.1-3 Architecture: i386 Maintainer: Ubuntu Developers Original-Maintainer: Debian Octave Group Installed-Size: 1289 Depends: libc6 (>= 2.29), libgcc1 (>= 1:3.0), libstdc++6 (>= 5.2), octave-abi-53, octave (>= 5.1.0), octave-control (>= 2.4) Section: math Priority: optional Homepage: https://octave.sourceforge.io/signal/ Description: signal processing functions for Octave This package provides signal processing tools including filtering, windowing and display functions in octave. . Blackman-Harris, Blackman-Nuttall and Bohman are among the windowing functions and filters include Chebyshev type filters and butterworth filters. . Additionally, some wavelet functions are included. . This Octave add-on package is part of the Octave-Forge project. drwxr-xr-x root/root 0 2019-11-08 16:01 ./ drwxr-xr-x root/root 0 2019-11-08 16:01 ./usr/ drwxr-xr-x root/root 0 2019-11-08 16:01 ./usr/lib/ drwxr-xr-x root/root 0 2019-11-08 16:01 ./usr/lib/i386-linux-gnu/ drwxr-xr-x root/root 0 2019-11-08 16:01 ./usr/lib/i386-linux-gnu/octave/ drwxr-xr-x root/root 0 2019-11-08 16:01 ./usr/lib/i386-linux-gnu/octave/packages/ drwxr-xr-x root/root 0 2019-11-08 16:01 ./usr/lib/i386-linux-gnu/octave/packages/signal-1.4.1/ drwxr-xr-x root/root 0 2019-11-08 16:01 ./usr/lib/i386-linux-gnu/octave/packages/signal-1.4.1/i686-pc-linux-gnu-api-v53/ -rwxr-xr-x root/root 22264 2019-11-08 16:01 ./usr/lib/i386-linux-gnu/octave/packages/signal-1.4.1/i686-pc-linux-gnu-api-v53/__fwht__.oct -rwxr-xr-x root/root 34600 2019-11-08 16:01 ./usr/lib/i386-linux-gnu/octave/packages/signal-1.4.1/i686-pc-linux-gnu-api-v53/__ultrwin__.oct -rwxr-xr-x root/root 42840 2019-11-08 16:01 ./usr/lib/i386-linux-gnu/octave/packages/signal-1.4.1/i686-pc-linux-gnu-api-v53/cl2bp.oct -rwxr-xr-x root/root 38672 2019-11-08 16:01 ./usr/lib/i386-linux-gnu/octave/packages/signal-1.4.1/i686-pc-linux-gnu-api-v53/medfilt1.oct -rwxr-xr-x root/root 42784 2019-11-08 16:01 ./usr/lib/i386-linux-gnu/octave/packages/signal-1.4.1/i686-pc-linux-gnu-api-v53/remez.oct -rwxr-xr-x root/root 34592 2019-11-08 16:01 ./usr/lib/i386-linux-gnu/octave/packages/signal-1.4.1/i686-pc-linux-gnu-api-v53/sosfilt.oct -rwxr-xr-x root/root 46896 2019-11-08 16:01 ./usr/lib/i386-linux-gnu/octave/packages/signal-1.4.1/i686-pc-linux-gnu-api-v53/upfirdn.oct drwxr-xr-x root/root 0 2019-11-08 16:01 ./usr/share/ drwxr-xr-x root/root 0 2019-11-08 16:01 ./usr/share/doc/ drwxr-xr-x root/root 0 2019-11-08 16:01 ./usr/share/doc/octave-signal/ lrwxrwxrwx root/root 0 2019-11-08 16:01 ./usr/share/doc/octave-signal/NEWS -> ../../octave/packages/signal-1.4.1/packinfo/NEWS -rw-r--r-- root/root 1308 2019-11-08 16:01 ./usr/share/doc/octave-signal/changelog.Debian.gz -rw-r--r-- root/root 4652 2019-05-23 09:15 ./usr/share/doc/octave-signal/copyright drwxr-xr-x root/root 0 2019-11-08 16:01 ./usr/share/octave/ drwxr-xr-x root/root 0 2019-11-08 16:01 ./usr/share/octave/packages/ drwxr-xr-x root/root 0 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/ -rw-r--r-- root/root 3141 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/__power.m -rw-r--r-- root/root 11897 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/ar_psd.m -rw-r--r-- root/root 9685 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/arburg.m -rw-r--r-- root/root 2499 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/aryule.m -rw-r--r-- root/root 1550 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/barthannwin.m -rw-r--r-- root/root 1631 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/besselap.m -rw-r--r-- root/root 4322 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/besself.m -rw-r--r-- root/root 4700 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/bilinear.m -rw-r--r-- root/root 1987 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/bitrevorder.m -rw-r--r-- root/root 2679 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/blackmanharris.m -rw-r--r-- root/root 2712 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/blackmannuttall.m -rw-r--r-- root/root 1560 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/bohmanwin.m -rw-r--r-- root/root 1347 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/boxcar.m -rw-r--r-- root/root 8324 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/buffer.m -rw-r--r-- root/root 1289 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/buttap.m -rw-r--r-- root/root 9433 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/butter.m -rw-r--r-- root/root 40006 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/buttord.m -rw-r--r-- root/root 2286 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/cceps.m -rw-r--r-- root/root 3594 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/cconv.m -rw-r--r-- root/root 1726 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/cheb.m -rw-r--r-- root/root 1438 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/cheb1ap.m -rw-r--r-- root/root 36389 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/cheb1ord.m -rw-r--r-- root/root 1439 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/cheb2ap.m -rw-r--r-- root/root 36379 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/cheb2ord.m -rw-r--r-- root/root 3331 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/chebwin.m -rw-r--r-- root/root 5600 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/cheby1.m -rw-r--r-- root/root 6039 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/cheby2.m -rw-r--r-- root/root 5343 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/chirp.m -rw-r--r-- root/root 2626 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/clustersegment.m -rw-r--r-- root/root 1208 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/cmorwavf.m -rw-r--r-- root/root 2012 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/cohere.m -rw-r--r-- root/root 1838 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/convmtx.m -rw-r--r-- root/root 3351 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/cplxreal.m -rw-r--r-- root/root 2370 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/cpsd.m -rw-r--r-- root/root 1981 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/csd.m -rw-r--r-- root/root 3456 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/czt.m -rw-r--r-- root/root 5151 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/data2fun.m -rw-r--r-- root/root 1633 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/db2pow.m -rw-r--r-- root/root 2979 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/dct.m -rw-r--r-- root/root 1466 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/dct2.m -rw-r--r-- root/root 1784 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/dctmtx.m -rw-r--r-- root/root 4039 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/decimate.m -rw-r--r-- root/root 1429 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/dftmtx.m -rw-r--r-- root/root 2607 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/digitrevorder.m -rw-r--r-- root/root 1192 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/diric.m -rw-r--r-- root/root 187207 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/doc-cache -rw-r--r-- root/root 1348 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/downsample.m -rw-r--r-- root/root 1460 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/dst.m -rw-r--r-- root/root 1919 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/dwt.m -rw-r--r-- root/root 5870 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/ellip.m -rw-r--r-- root/root 1633 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/ellipap.m -rw-r--r-- root/root 34267 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/ellipord.m -rw-r--r-- root/root 2170 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/fht.m -rw-r--r-- root/root 4458 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/filtfilt.m -rw-r--r-- root/root 3929 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/filtic.m -rw-r--r-- root/root 13257 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/findpeaks.m -rw-r--r-- root/root 7019 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/fir1.m -rw-r--r-- root/root 8645 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/fir2.m -rw-r--r-- root/root 4434 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/firls.m -rw-r--r-- root/root 2348 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/flattopwin.m -rw-r--r-- root/root 6245 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/fracshift.m -rw-r--r-- root/root 1500 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/freqs.m -rw-r--r-- root/root 1522 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/freqs_plot.m -rw-r--r-- root/root 5630 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/fwhm.m -rw-r--r-- root/root 2835 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/fwht.m -rw-r--r-- root/root 2244 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/gauspuls.m -rw-r--r-- root/root 1869 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/gaussian.m -rw-r--r-- root/root 1886 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/gausswin.m -rw-r--r-- root/root 1099 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/gmonopuls.m -rw-r--r-- root/root 12032 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/grpdelay.m -rw-r--r-- root/root 2067 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/hann.m -rw-r--r-- root/root 3951 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/hilbert.m -rw-r--r-- root/root 2569 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/idct.m -rw-r--r-- root/root 1511 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/idct2.m -rw-r--r-- root/root 824 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/idst.m -rw-r--r-- root/root 2070 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/ifht.m -rw-r--r-- root/root 2512 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/ifwht.m -rw-r--r-- root/root 12132 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/iirlp2mb.m -rw-r--r-- root/root 5621 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/impinvar.m -rw-r--r-- root/root 3968 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/impz.m -rw-r--r-- root/root 2426 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/interp.m -rw-r--r-- root/root 8950 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/invfreq.m -rw-r--r-- root/root 3279 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/invfreqs.m -rw-r--r-- root/root 3135 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/invfreqz.m -rw-r--r-- root/root 5552 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/invimpinvar.m -rw-r--r-- root/root 2251 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/kaiser.m -rw-r--r-- root/root 5896 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/kaiserord.m -rw-r--r-- root/root 3361 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/levinson.m -rw-r--r-- root/root 18959 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/marcumq.m -rw-r--r-- root/root 1148 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/mexihat.m -rw-r--r-- root/root 1013 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/meyeraux.m -rw-r--r-- root/root 1118 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/morlet.m -rw-r--r-- root/root 2915 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/movingrms.m -rw-r--r-- root/root 2415 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/mscohere.m -rw-r--r-- root/root 3381 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/ncauer.m -rw-r--r-- root/root 2620 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/nuttallwin.m drwxr-xr-x root/root 0 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/packinfo/ -rw-r--r-- root/root 362 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/packinfo/DESCRIPTION -rw-r--r-- root/root 1896 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/packinfo/INDEX -rw-r--r-- root/root 7721 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/packinfo/NEWS -rw-r--r-- root/root 1621 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/parzenwin.m -rw-r--r-- root/root 6198 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/pburg.m -rw-r--r-- root/root 2868 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/peak2peak.m -rw-r--r-- root/root 1864 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/peak2rms.m -rw-r--r-- root/root 4379 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/pei_tseng_notch.m -rw-r--r-- root/root 1059 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/polystab.m -rw-r--r-- root/root 1805 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/pow2db.m -rw-r--r-- root/root 2499 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/primitive.m drwxr-xr-x root/root 0 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/private/ -rw-r--r-- root/root 2374 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/private/__fwht_opts__.m -rw-r--r-- root/root 2448 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/private/h1_z_deriv.m -rw-r--r-- root/root 2357 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/private/inv_residue.m -rw-r--r-- root/root 1149 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/private/polyrev.m -rw-r--r-- root/root 1166 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/private/to_real.m -rw-r--r-- root/root 2722 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/private/validate_filter_bands.m -rw-r--r-- root/root 6204 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/pulstran.m -rw-r--r-- root/root 39327 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/pwelch.m -rw-r--r-- root/root 4993 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/pyulear.m -rw-r--r-- root/root 2902 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/qp_kaiser.m -rw-r--r-- root/root 4815 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/rceps.m -rw-r--r-- root/root 2459 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/rectpuls.m -rw-r--r-- root/root 1408 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/rectwin.m -rw-r--r-- root/root 5365 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/resample.m -rw-r--r-- root/root 5367 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/residued.m -rw-r--r-- root/root 5379 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/residuez.m -rw-r--r-- root/root 1826 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/rms.m -rw-r--r-- root/root 1784 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/rssq.m -rw-r--r-- root/root 1482 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/sampled2continuous.m -rw-r--r-- root/root 2058 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/sawtooth.m -rw-r--r-- root/root 4152 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/schtrig.m -rw-r--r-- root/root 7868 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/sftrans.m -rw-r--r-- root/root 4374 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/sgolay.m -rw-r--r-- root/root 5003 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/sgolayfilt.m -rw-r--r-- root/root 1287 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/shanwavf.m -rw-r--r-- root/root 2424 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/shiftdata.m -rw-r--r-- root/root 4842 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/sigmoid_train.m -rw-r--r-- root/root 3214 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/sos2tf.m -rw-r--r-- root/root 3289 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/sos2zp.m -rw-r--r-- root/root 9420 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/specgram.m -rw-r--r-- root/root 860 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/square.m -rw-r--r-- root/root 1762 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/ss2tf.m -rw-r--r-- root/root 1256 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/ss2zp.m -rw-r--r-- root/root 2539 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/tf2sos.m -rw-r--r-- root/root 1893 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/tf2ss.m -rw-r--r-- root/root 1358 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/tf2zp.m -rw-r--r-- root/root 2011 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/tfe.m -rw-r--r-- root/root 2387 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/tfestimate.m -rw-r--r-- root/root 2515 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/triang.m -rw-r--r-- root/root 3576 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/tripuls.m -rw-r--r-- root/root 2708 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/tukeywin.m -rw-r--r-- root/root 3681 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/udecode.m -rw-r--r-- root/root 2576 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/uencode.m -rw-r--r-- root/root 8367 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/ultrwin.m -rw-r--r-- root/root 2248 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/unshiftdata.m -rw-r--r-- root/root 1298 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/upsample.m -rw-r--r-- root/root 2812 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/upsamplefill.m -rw-r--r-- root/root 1802 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/wconv.m -rw-r--r-- root/root 3817 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/welchwin.m -rw-r--r-- root/root 1675 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/window.m -rw-r--r-- root/root 1939 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/wkeep.m -rw-r--r-- root/root 1116 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/wrev.m -rw-r--r-- root/root 11220 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/xcorr.m -rw-r--r-- root/root 4819 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/xcorr2.m -rw-r--r-- root/root 2492 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/xcov.m -rw-r--r-- root/root 2268 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/zerocrossing.m -rw-r--r-- root/root 4379 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/zp2sos.m -rw-r--r-- root/root 1878 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/zp2ss.m -rw-r--r-- root/root 1495 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/zp2tf.m -rw-r--r-- root/root 5475 2019-11-08 16:01 ./usr/share/octave/packages/signal-1.4.1/zplane.m +------------------------------------------------------------------------------+ | Post Build | +------------------------------------------------------------------------------+ +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not removing build depends: as requested +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: i386 Build-Space: 24980 Build-Time: 117 Distribution: focal-proposed Host Architecture: i386 Install-Time: 39 Job: octave-signal_1.4.1-3.dsc Machine Architecture: amd64 Package: octave-signal Package-Time: 157 Source-Version: 1.4.1-3 Space: 24980 Status: successful Version: 1.4.1-3 -------------------------------------------------------------------------------- Finished at 20191109-1112 Build needed 00:02:37, 24980k disc space RUN: /usr/share/launchpad-buildd/bin/in-target scan-for-processes --backend=chroot --series=focal --arch=i386 PACKAGEBUILD-18076916 Scanning for processes to kill in build PACKAGEBUILD-18076916