How to generate signal like in picture

7 views (last 30 days)
Justas on 7 Oct 2014
How to create sawtooth with sine in SimulSink.
Something like in this picture

Answers (2)

the cyclist
the cyclist on 7 Oct 2014
I suggest you
  • Go to the Plot Gallery
  • find one of the plots there that is similar in style
  • download the code
  • modify it to do exactly what you want
the cyclist
the cyclist on 8 Oct 2014
Ah, sorry. Well, at least I made your question prettier.

Sign in to comment.

Rashmil Dahanayake
Rashmil Dahanayake on 8 Oct 2014
There are 3 signal with same period. Hence you need one sine wave block & 2 Repeating signal waves (for triangular and sawtooth)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by