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
13 views (last 30 days)
Show older comments
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.
Accepted Answer
Sebastian Castro
on 25 Feb 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
More Answers (0)
See Also
Categories
Find more on Sources in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!