-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
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();
}
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels