How does this code support in carparking slot identification?

 채택된 답변

Walter Roberson
Walter Roberson 2021년 7월 17일

0 개 추천

It doesn't. It is code that assumes that there are 10 spots, and assumes that the code above calculated the number of used slots, and so it is reporting the number of available slots to the user as 10 minus the number of used slots. However the line itself has no role in figuring out which slots are used.

추가 답변 (1개)

John D'Errico
John D'Errico 2021년 7월 17일

0 개 추천

Out of context, this code is meaningless. It has absolutely nothing to do with the question you have asked about. And that was essentially the same answer the last time you asked virtually the same out of context question.

카테고리

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

제품

릴리스

R2020b

태그

Community Treasure Hunt

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

Start Hunting!

Translated by