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

1 次查看(过去 30 天)
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 中查找有关 Matrix Indexing 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by