Writing a function with 1 input and 1 output

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개)

카테고리

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

태그

질문:

2022년 11월 16일

댓글:

2022년 11월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by