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

Birdman
Birdman 2020년 4월 15일
Yes of course. What is the shape of the desired signal? Can you draw it?
hiidonthaveaname
hiidonthaveaname 2020년 4월 15일
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.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 General Applications에 대해 자세히 알아보기

질문:

2020년 4월 15일

댓글:

2020년 4월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by