[CustomFunctions] Abs() vs vectorize()

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

#1 Objavljeno: 27. 2. 2017. 13:07:21
Igor Skarine

Igor Skarine

14 svidjanja u 97 postova.

Grupa: 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) preuzeto 1365 put(ova).
#2 Objavljeno: 27. 2. 2017. 13:17:38
Davide Carpi

Davide Carpi

1.444 svidjanja u 2.936 postova.

Grupa: 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 korisnika je svidelo ovu objavu
Igor Skarine 27. 2. 2017. 13:40:00
  • Novi postovi
  • Nema novih postova