[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Use Filtfilt in cpp

From: Kai Torben Ohlhus
Subject: Re: Use Filtfilt in cpp
Date: Thu, 1 Nov 2018 22:08:00 +0100

On Thu, Nov 1, 2018 at 7:21 PM maru2012 <address@hidden> wrote:
I wanted to ask you: the octave function "filtfilt". Can I use it from cpp
I would appreciate it if you would send me examples, please.
Thank you!

I would not say that it was impossible, but the "filtfilt" function is a m-file from the Octave Forge "signal" package.  Thus you have to link against Octave's libraries [1], start the Octave interpreter, load the signal package and have to invoke the respective function with your C++ data...  This sounds like something one should avoid to do.  Maybe there is a C++ library for your intended computations, or you analyze the "filtfilt" function [2] and signal package and try to call the respective C++-Functions from Octave without invoking the interpreter.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]