can anybody explain this function? what is the meaning of Q(1) ,Q(2)?

조회 수: 2 (최근 30일)
passioncoding
passioncoding 2018년 8월 29일
댓글: Stephen23 2018년 8월 29일
function [h]=sensor_view(Q,radius)
x=Q(1);
y=Q(2);
theta=Q(3);
  댓글 수: 1
Stephen23
Stephen23 2018년 8월 29일
That is very basic indexing. Indexing is one of the most simple and fundamental concepts of using MATLAB (and many other computer languages). You can learn about indexing by doing the introductory tutorials:

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by