[CustomFunctions] Abs() vs vectorize()

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

#1 已发布: 2017/2/27 13:07:21
Igor Skarine

Igor Skarine

14个赞,共97个帖子。

组: 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)已下载 1350 次。
#2 已发布: 2017/2/27 13:17:38
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: 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位用户喜欢此帖子
Igor Skarine 2017/2/27 13:40:00
  • 有新帖
  • 无新帖