Generating Triangular wave in simulink
Mostra commenti meno recenti
I have sine wave bx is simulink,is there any box for triangular wave available,else please tell how to generate triangular wave in simulink of equal amplitude and time
1 Commento
Walter Roberson
il 9 Ott 2012
Please read the guide to tags and retag this question; see http://www.mathworks.co.uk/matlabcentral/answers/43073-a-guide-to-tags
Risposta accettata
Più risposte (3)
Hi, the triangle generator does not exist but you can create your own.
My tip is to create a pulse signal (pulse width =50%) and adding a negative offset (typically the half of the amplitude you want).
If you want a triangle signal between [0 1] then you have to set:
pulse amplitude : 4 offset : -2
Then you have a pulse varying between [-2 2] You just have to integrate this signal and you will get a nice triangle signal varying between [0 1] ;)
Julien
il 8 Ott 2012
0 voti
My example simulink block is online
10 Commenti
kash
il 9 Ott 2012
Azzi Abdelmalek
il 9 Ott 2012
right click on the model then click 'look under mask'
kash
il 9 Ott 2012
kash
il 9 Ott 2012
Azzi Abdelmalek
il 9 Ott 2012
yes
kash
il 9 Ott 2012
kash
il 9 Ott 2012
Azzi Abdelmalek
il 9 Ott 2012
I did'nt understand. You still have problem with generating triangular wave?
kash
il 9 Ott 2012
Azzi Abdelmalek
il 9 Ott 2012
If you have another problem, I suggest to post another question
Vijay P
il 3 Mag 2018
0 voti
Please guide me how to do in simulink.
Categorie
Scopri di più su Signal Generation in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!