Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline alyles  
#1 Posted : 24 May 2018 18:46:54(UTC)
alyles


Rank: Advanced Member

Groups: Registered
Joined: 23/03/2016(UTC)
Posts: 275
United States

Was thanked: 91 time(s) in 57 post(s)
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 (11kb) downloaded 37 time(s)..
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline Jean Giraud  
#2 Posted : 24 May 2018 20:02:01(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: alyles Go to Quoted Post
It may not be the best algorithm/method so feel free to critique/improve.


Work sheet is empty , mon ami !!!
Offline alyles  
#3 Posted : 24 May 2018 20:20:55(UTC)
alyles


Rank: Advanced Member

Groups: Registered
Joined: 23/03/2016(UTC)
Posts: 275
United States

Was thanked: 91 time(s) in 57 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
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
Offline ndtma  
#4 Posted : 24 May 2018 21:36:57(UTC)
ndtma


Rank: Advanced Member

Groups: Registered
Joined: 05/06/2014(UTC)
Posts: 348
Man
Sri Lanka
Location: Colombo

Was thanked: 124 time(s) in 82 post(s)
Downloaded successfully and opened. No issues.
Look within!... The secret is inside you.
Best Regards
Eng. NDTM Amarasekera - Sri Lanka
Offline Davide Carpi  
#5 Posted : 24 May 2018 22:22:24(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,639
Man
Italy
Location: Italy

Was thanked: 1323 time(s) in 873 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
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 (11kb) downloaded 17 time(s).

Edited by user 24 May 2018 22:25:37(UTC)  | Reason: Not specified

If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline alyles  
#6 Posted : 25 May 2018 18:19:23(UTC)
alyles


Rank: Advanced Member

Groups: Registered
Joined: 23/03/2016(UTC)
Posts: 275
United States

Was thanked: 91 time(s) in 57 post(s)
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 (14kb) downloaded 19 time(s).

Edited by user 25 May 2018 21:01:56(UTC)  | Reason: Not specified

Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
Offline Jean Giraud  
#7 Posted : 26 May 2018 17:15:45(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: alyles Go to Quoted Post
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].

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.