|
From: | Prasanth N P |
Subject: | Re: Want to know how to inluce octave fft lib in my Qt program |
Date: | Tue, 22 Oct 2013 15:47:32 +0530 |
oh, right, that's because the output of fft is in general complex, so you should use a
On 22 Oct 2013, at 11:25, Prasanth N P <address@hidden> wrote:
>
> octave_value_list output = feval ("fft", input, 1);
> ColumnVector output_vector = output(0).column_vector_value ();
>
>
> error: octave_base_value::array_value(): wrong type argument `complex matrix'
ComplexColumnVector rather than a ColumnVector to collectthe output.
The elements of the outupt vector will be of class Complex which is just a typedef for std::complex.
HTH,
c.
[Prev in Thread] | Current Thread | [Next in Thread] |