nicolaspanel / numjs

Like NumPy, in JavaScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FFT nj.concatenate Dimension mistmatch

bhaskar-c opened this issue · comments

Following the instructions for taking FFT, I am trying to concatenate the real and imaginary parts like this:

RI = nj.concatenate(nj.array(my_sound_array), nj.zeros(my_sound_array.length))

This gives me the following error:

numjs.js:22114 Uncaught Error: all the input arrays must have same number of dimensions
at new ValueError (numjs.js:22114)
at Object.concatenate (numjs.js:23242)

How do I overcome this error ?

Never mind, please ignore/close this issue. I found the solution. Thanks for the code.