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

2 Ansichten (letzte 30 Tage)
passioncoding
passioncoding am 29 Aug. 2018
Kommentiert: Stephen23 am 29 Aug. 2018
function [h]=sensor_view(Q,radius)
x=Q(1);
y=Q(2);
theta=Q(3);
  1 Kommentar
Stephen23
Stephen23 am 29 Aug. 2018
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:

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by