pos function does not work

25 visualizzazioni (ultimi 30 giorni)
Ali
Ali il 24 Gen 2023
Risposto: John D'Errico il 25 Gen 2023
Hi, In the following link: https://in.mathworks.com/matlabcentral/answers/889452-how-to-get-brushed-data-point-index-from-plot How do I use the pos function? Any specific toolbox I should have? It does not work for me (unrecognised function or variable).
  2 Commenti
Torsten
Torsten il 24 Gen 2023
Can you give a link to this function ? I cannot find it.
John D'Errico
John D'Errico il 24 Gen 2023
@Torsten - do a search on the FEX for pos. I did, but there are many possible candidates. My best guess is the kinematics TB, since many students seem to be doing kinematics lately.

Accedi per commentare.

Risposta accettata

John D'Errico
John D'Errico il 25 Gen 2023
Now that we see what is meant by pos, we see that in fact, pos is just an array. It is not a function at all.
In that post, pos was just presumed to be a list of the coordinates of a set of points in a 3-dimensional space.

Più risposte (1)

John D'Errico
John D'Errico il 24 Gen 2023
Modificato: John D'Errico il 24 Gen 2023
which pos
'pos' not found.
We cannot tell you how to use a function that does not exist in MATLAB.
Is pos a function that would be found on the file exchange? Maybe. A short name like that may have been used multiple times,
Maybe it is a function from the kinematics toolbox.
Should we know? How?
Mybe it is found here:
We cannot possibly know which function among many you are thinking about. Or possibly it is a function you or someone you know wrote.
  2 Commenti
Ali
Ali il 25 Gen 2023
https://in.mathworks.com/matlabcentral/answers/889452-how-to-get-brushed-data-point-index-from-plot
John D'Errico
John D'Errico il 25 Gen 2023
Sigh. In the post you show, Pos is just an array. It is not a function.

Accedi per commentare.

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Tag

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by