Yes, this is what i want to do but the problem is that i can't update the values each time in repeating sequence block. Actually I have like 3 values that are coming from user defined block after some calculation and the get updated after one cycle, I tried to edit the repeating sequence block so that i can input these valves it to but i am unable to do so. please help.
how to generate one signal from a vector data in simulink
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I am having a problem like if you have 10 data points say in a vector and you use simulink constant block it shows 10 continuous lines for this. how can i just create a one continuous waveform from it.
Réponse acceptée
Sebastian Castro
le 25 Fév 2016
My understanding if your question is that you want those 10 values to make up one period of a periodic waveform, right?
If so, check out the Repeating Sequence block: http://www.mathworks.com/help/simulink/slref/repeatingsequence.html
The block above generates a continuous-time signal so you have to also specify time values. There are also "Repeating Sequence Interpolated" and "Repeating Sequence Stair" blocks that may better meet your needs.
- Sebastian
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Sources dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!