pos function does not work

5 vues (au cours des 30 derniers jours)
Ali
Ali le 24 Jan 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 commentaires
Torsten
Torsten le 24 Jan 2023
Can you give a link to this function ? I cannot find it.
John D'Errico
John D'Errico le 24 Jan 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.

Connectez-vous pour commenter.

Réponse acceptée

John D'Errico
John D'Errico le 25 Jan 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.

Plus de réponses (1)

John D'Errico
John D'Errico le 24 Jan 2023
Modifié(e) : John D'Errico le 24 Jan 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 commentaires
Ali
Ali le 25 Jan 2023
https://in.mathworks.com/matlabcentral/answers/889452-how-to-get-brushed-data-point-index-from-plot
John D'Errico
John D'Errico le 25 Jan 2023
Sigh. In the post you show, Pos is just an array. It is not a function.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by