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 ExchangeGeneral 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