custom logrange() function

custom logrange() function - Mensajes

#1 Publicado: 24/5/2018 12:46:54
Arie

Arie

94 me gusta en 285 mensajes.

Grupo: 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,71 KiB) descargado 1307 vez(es)..
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#2 Publicado: 24/5/2018 14:02:01
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

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



Work sheet is empty , mon ami !!!
#3 Publicado: 24/5/2018 14:20:55
Arie

Arie

94 me gusta en 285 mensajes.

Grupo: 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 Publicado: 24/5/2018 15:36:57
NDTM Amarasekera

NDTM Amarasekera

130 me gusta en 352 mensajes.

Grupo: User

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

Davide Carpi

1.443 me gusta en 2.936 mensajes.

Grupo: 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,89 KiB) descargado 1267 vez(es).
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#6 Publicado: 25/5/2018 12:19:23
Arie

Arie

94 me gusta en 285 mensajes.

Grupo: 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,62 KiB) descargado 1359 vez(es).
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#7 Publicado: 26/5/2018 11:15:45
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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].

  • Nuevos mensajes
  • Sin mensajes nuevos