Writing a function with 1 input and 1 output

4 ビュー (過去 30 日間)
Amanda
Amanda 2022 年 11 月 16 日
コメント済み: Stephen23 2022 年 11 月 16 日
I need help creating this function "walk" with one input and output. The input is labeled "number_of_steps" and the output is labeled "steps_made succesfully". I need my robot to take a "number_of_steps" forward before it hits a wall and return the number of steps before it hit the wall.

回答 (0 件)

カテゴリ

Help Center および File ExchangeRobotics についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by