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 Kommentare

Birdman
Birdman am 15 Apr. 2020
Yes of course. What is the shape of the desired signal? Can you draw it?
hiidonthaveaname
hiidonthaveaname am 15 Apr. 2020
Yes, i'd like something like this:
I did this in the Signal Builder but i don't know what i have to do next.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu General Applications finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 15 Apr. 2020

Kommentiert:

am 15 Apr. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by