dB - How to work with dB in SMath - 消息

#1 已发布: 2023/4/30 14:11:11
Valery Ochkov

Valery Ochkov

67个赞,共716个帖子。

组: User

Preamble
Cut me into pieces, eat me with butter, but if I want to get a decimeter, I divide the meter by 10, not multiply the meter by 10. If I multiply the bel by ten, then I get a decabel, not a decibel.
I can work with dB in Mathcad 15. How to work with dB in SMath?
dB-1.png
dB-2.png

#2 已发布: 2023/4/30 18:18:45
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

I can work with dB in Mathcad 15. How to work with dB in SMath ?


Simple example attached.
Cheers ... Jean.

Inst_dB Sound Copy.sm (142.11 KiB)已下载 1405 次。

#3 已发布: 2023/4/30 19:05:14
Martin Kraska

Martin Kraska

1,362个赞,共2,276个帖子。

组: Moderator

If Davide could provide operator forms for To_dB() and From_dB() then this could pretty much look like in Mathcad.

dB.png
dB.sm (9.61 KiB)已下载 1341 次。
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
#4 已发布: 2023/5/1 03:04:21
Valery Ochkov

Valery Ochkov

67个赞,共716个帖子。

组: User

Wrote

Wrote

I can work with dB in Mathcad 15. How to work with dB in SMath ?


Simple example attached.
Cheers ... Jean.

Inst_dB Sound Copy.sm (142.11 KiB)已下载 1405 次。



Thanks,
but how can I see your plot without any formatting?
dB-Font.png
#5 已发布: 2023/5/1 03:06:58
Valery Ochkov

Valery Ochkov

67个赞,共716个帖子。

组: User

Wrote

If Davide could provide operator forms for To_dB() and From_dB() then this could pretty much look like in Mathcad.

dB.png
dB.sm (9.61 KiB)已下载 1341 次。



Thanks,
But how can I use the postfix and prefix operators in SMath? Is there a tree operator too?
#6 已发布: 2023/5/1 09:25:12
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

but how can I see your plot without any formatting ?


Try to zoom your document in native Smath 100 %
#7 已发布: 2023/5/1 11:11:33
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

Try to zoom your document in native Smath 100 %


That's what you should have.

dB.PNG
#8 已发布: 2023/5/1 16:02:21
Martin Kraska

Martin Kraska

1,362个赞,共2,276个帖子。

组: Moderator

Wrote

Wrote

If Davide could provide operator forms for To_dB() and From_dB() then this could pretty much look like in Mathcad.



Thanks,
But how can I use the postfix and prefix operators in SMath? Is there a tree operator too?



Davide Carpi has defined operator representations for some functions in his Custom Glyphs plugin. So he is the wizard who can make that happen if you convince him. He also implemented the Glyph for the Maxima().

The drawback is that users can easily read these expressions but it is hard to guess how to write these operators if you aren't aware of the background function used for it. So the best would be to have a side panel (as it is implemented for the currency units plugin).
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
#9 已发布: 2023/5/1 16:09:47
Valery Ochkov

Valery Ochkov

67个赞,共716个帖子。

组: User

Wrote

Wrote

but how can I see your plot without any formatting ?


Try to zoom your document in native Smath 100 %



Sorry, but same result.
#10 已发布: 2023/5/1 18:15:19
Davide Carpi

Davide Carpi

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

组: Moderator

Wrote

Sorry, but same result.



Seems something related to DPI scaling in the plugin. Just a guess.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#11 已发布: 2023/5/1 19:20:47
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

Originally Posted by: Jean Giraud [/url]Originally Posted by: OchkovVF [url=/forum/yaf_postsm81092_dB.aspx#post81092]but how can I see your plot without any formatting ?
Try to zoom your document in native Smath 100 %


Sorry, but same result.



Rewrite the code on your system.
  • 有新帖
  • 无新帖