[CustomFunctions] Abs() vs vectorize()

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

#1 Posted: 2/27/2017 1:07:21 PM
Igor Skarine

Igor Skarine

14 likes in 97 posts.

Group: 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 KiB) downloaded 49 time(s).
#2 Posted: 2/27/2017 1:17:38 PM
Davide Carpi

Davide Carpi

1416 likes in 2873 posts.

Group: 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 users liked this post
Igor Skarine 2/27/2017 1:40:00 PM
  • New Posts New Posts
  • No New Posts No New Posts