Signal builder output.
Show older comments
How can i make my Signal Builder to output all the values not only the last one? For eg. i have a a simple square signal from 0 to 2. It would like it to output 2, 0, 2, 0, and so on, but it only outputs 0, so the last value i guess. I want to create a simulation for a line follower robot with arduino, and i need to test my simulation with input values of 1 and 0. Let's say, that it outputs 1 for 5 seconds but after that i want to change it to 0, then back to 1 again and so on, without stoping and restarting my simulation. Can it be done?
2 Comments
Birdman
on 15 Apr 2020
Yes of course. What is the shape of the desired signal? Can you draw it?
hiidonthaveaname
on 15 Apr 2020
Answers (0)
Categories
Find more on Signal Attributes and Indexing 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!