nk 1.0.0
C++ Numerical Computing Runtime
Loading...
Searching...
No Matches
sosfilt.hpp
Go to the documentation of this file.
1
3// toolboxes/signal/include/nk/signal/digital_filtering/sosfilt.hpp
4//
5// Apply an SOS biquad cascade. Conversions zp2sos / tf2sos live in
6// filter_implementation/conversions.hpp.
7
8#pragma once
9
10#include <memory_resource>
11#include <nk/value/value.hpp>
12
13namespace nk::signal {
14
17
18
40Value sosfilt(const Value & sos,
41 const Value & x,
42 std::pmr::memory_resource * mr = nullptr);
43
62 const Value & x,
63 std::pmr::memory_resource * mr = nullptr);
64
65
67} // namespace nk::signal
Core MATLAB-compatible multidimensional array and scalar value type.
Definition value.hpp:61
Value sosfiltfilt(const Value &sos, const Value &x, std::pmr::memory_resource *mr=nullptr)
Zero-phase forward + backward SOS cascade.
Value sosfilt(const Value &sos, const Value &x, std::pmr::memory_resource *mr=nullptr)
Apply a second-order-sections cascade to a signal.