You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My requirement is to input a double array and then do FFT using Octave, but I don’t know how to give the input to Octave.
by the way FFT output format is complex , can i use AsVector(); ??
public static void FFT_Octave(double[] signal)
{
double fre, amp;
using (var octave = new OctaveContext())
{
var input = octave.Execute(signal.ToOctave()); // [??????]
var vectorResult = octave
.Execute("fft(input)")
.AsVector();
}
}
The text was updated successfully, but these errors were encountered:
Hi I found the solution below, but the result is string not array or another type,
I referred to the test examples and did not find any suitable ones for process the complex.
My requirement is to input a double array and then do FFT using Octave, but I don’t know how to give the input to Octave.
by the way FFT output format is complex , can i use AsVector(); ??
public static void FFT_Octave(double[] signal)
{
double fre, amp;
}
The text was updated successfully, but these errors were encountered: