# \#triangular-waveform

**URL:** https://forum.plexim.com/tag/triangular-waveform/303.md

[Latest](https://forum.plexim.com/latest.md) · [Categories](https://forum.plexim.com/categories.md) · [Tags](https://forum.plexim.com/tags.md)

---

## [Triangular wave with variable frequency](https://forum.plexim.com/t/triangular-wave-with-variable-frequency/1152)

<div class="topic-metadata">

**Author:** [@Seyager](https://forum.plexim.com/u/Seyager)\
**Replies:** 1\
**Last updated:** [August 18, 2022, 10:41am UTC](https://forum.plexim.com/t/triangular-wave-with-variable-frequency/1152 "2022-08-18T10:41:20Z")

</div>

Hello. I would like to know how to make a triangular or sawtooth wave in PLECS with a variable frequency in time. I tried with a C-Script, but it makes the simulation slower and because of the time delay, the frequency …

---

## [How to create triangular waveform with variable phase shift](https://forum.plexim.com/t/how-to-create-triangular-waveform-with-variable-phase-shift/316)

<div class="topic-metadata">

**Author:** [@nikolay](https://forum.plexim.com/u/nikolay)\
**Replies:** 1\
**Last updated:** [March 27, 2018, 10:27am UTC](https://forum.plexim.com/t/how-to-create-triangular-waveform-with-variable-phase-shift/316 "2018-03-27T10:27:27Z")

</div>

How to create variable delay for non-smooth signals? Specifically, I’m interested in a variable delay for a triangular waveform. The delay value should depend on a signal on the simulation sheet. Thank you very much
