This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
4rpl:commands:signalgenerator [2024/05/29 19:56] – Grabz | 4rpl:commands:signalgenerator [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 70: | Line 70: | ||
</ | </ | ||
==== For triangle wave function ==== | ==== For triangle wave function ==== | ||
- | === Time and Frequency === | ||
<code c#> | <code c#> | ||
value = 1f - 4f * (float)Mathf.Abs(Mathf.Round(t - 0.25f) - (t - 0.25f)); | value = 1f - 4f * (float)Mathf.Abs(Mathf.Round(t - 0.25f) - (t - 0.25f)); |