custom logrange() function

custom logrange() function - Messages

#1 Posted: 5/24/2018 12:46:54 PM
Arie

Arie

93 likes in 285 posts.

Group: User

I have attached a small script for creating logranges. These can be useful for numerically evaluating functions of frequency. I hadn't yet found a built in SMath function that does this, so I made one myself. It works for my purposes. It may not be the best algorithm/method so feel free to critique/improve.

logrange.sm (10 KiB) downloaded 79 time(s)..
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#2 Posted: 5/24/2018 2:02:01 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

It may not be the best algorithm/method so feel free to critique/improve.



Work sheet is empty , mon ami !!!
#3 Posted: 5/24/2018 2:20:55 PM
Arie

Arie

93 likes in 285 posts.

Group: User

Wrote

Work sheet is empty , mon ami !!!





Hmm. I just downloaded it and it opened ok. Anyone else have this issue?
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#4 Posted: 5/24/2018 3:36:57 PM
NDTM Amarasekera

NDTM Amarasekera

130 likes in 352 posts.

Group: User

Downloaded successfully and opened. No issues.
Look within!... The secret is inside you. Best Regards Eng. NDTM Amarasekera - Sri Lanka
#5 Posted: 5/24/2018 4:22:24 PM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Wrote

Work sheet is empty , mon ami !!!



Not empty but I confirm that doesn't open correctly in 0.98.6179 (to investigate)

Works fine with latest stable.


This should works for you Jean.
logrange_0_98_6179.sm (10 KiB) downloaded 62 time(s).
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#6 Posted: 5/25/2018 12:19:23 PM
Arie

Arie

93 likes in 285 posts.

Group: User

Added a second logrange2() function. First function was linear within each decade. logrange2 remains logarithmic (linear in log domain) throughout.

I could see applications where either might be appropriate.

Untitled.png

logrange2.sm (13 KiB) downloaded 57 time(s).
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#7 Posted: 5/26/2018 11:15:45 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

I could see applications where either might be appropriate.


What could be wrong, Your attachment does not include the demo plot ?
Just posted "log10 spaced stem" [Samples].

  • New Posts New Posts
  • No New Posts No New Posts