-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
Hello guys.
I'm tryng use the lib with an array containing vibration values (mm/s or g).
For example, I have the following input:
[10, 0.8285441, 0.69100095, 1.0226318, 0.7041154, 1.51439095] ...
But when I try to do:
let fft2 = require('fft-js').fft;
let y = fft2(signal);
console.log(y);
Nothing happens (there is no output). I guess that the library isn't working for me.
I found into README.md file the following: "The following code assumes a complex number is
an array: [real, imaginary]", that way, I'll need to get the real and imaginay parts of my original input?
Could you help me?
Thanks and congratulations by the project.
jxmorris12
Metadata
Metadata
Assignees
Labels
No labels