[CustomFunctions] Abs() vs vectorize()

[CustomFunctions] Abs() vs vectorize() - Latest Smath fails to calculate simple old worksheet - Messaggi

#1 Pubblicato: 27/02/2017 13:07:21
Igor Skarine

Igor Skarine

14 apprezzamenti in 97 post.

Gruppo: User

This is a old worksheet plotting frequency response of the amplifier.
It is 2-nd order analogue filter followed by simple digital filter (moving average of 4 samples).
For some reason 6179 can't calculate it while 5973 can.

amplifier_freq_response.sm (27,17 KiB) scaricato 1337 volta(e).
#2 Pubblicato: 27/02/2017 13:17:38
Davide Carpi

Davide Carpi

1.443 apprezzamenti in 2.936 post.

Gruppo: Moderator

In Mag(f) use abs() instead of Abs(); seems Abs() has some kind of issue with vectorize(), I'll take a look on it when possible, even if since the introduction of vectorize() Abs() shouldn't be really needed.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 utenti hanno apprezzato questo post
Igor Skarine 27/02/2017 13:40:00
  • Nuovi post
  • Nessun nuovo post