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

3 ビュー (過去 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 Center および File ExchangeMatrix Indexing についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by