Array Maths : Signal[V1:step :V2]

  • Software
  • Array Maths : Signal[V1:step :V2]
nick arran

Posted on 20.01.2021 18:38

I found this useful function in array maths to take eg every Nth element of an array. But when I try to use it it just says "syntax error".
These functions work fine:

  • Data[V1:V2]
  • Data{V1:V2}
  • Data[n]
  • Data{n}

But Data[V1:STEP:V2] never works .. and there is no Data{V1:STEP:V2}


The application is to make an FFT of a time domain signal and then extract only the 300Hz multiples; then if I have FFTs Voltage and Current I can calculate the impedance at particular frequency points. Dividing the entire Voltage FFT by the entire Current FFT works, but returns lots of noise (small number divided by small number) obliterating the intended result.



Anyone made this function work?

Jernej Sirk
NVH Application Engineer
Posted on 22.01.2021 07:16

Dear Nick,



we can also reproduce the syntax error with [V1:STEP:V2] formula. I will report this as a bug to the developers and let you know about the solution.



Best regards,

Jernej Sirk
NVH Application Engineer
Posted on 22.01.2021 12:29

Dear Nick


I got the information from our developers that this function was never implemented with the step parameter.

Documentation was wrong and has been fixed.


This feature is coming with new updated formula module in the middle of 2021.


Until the new formula is released, the only solution would be to use the custom C++ script.


Best regards,

Login to reply to this topic. If you don't have account yet, you can signup for free account .