pos function does not work

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 Comments

Can you give a link to this function ? I cannot find it.
@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.

Sign in to comment.

 Accepted Answer

John D'Errico
John D'Errico on 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.

More Answers (1)

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 Comments

https://in.mathworks.com/matlabcentral/answers/889452-how-to-get-brushed-data-point-index-from-plot
Sigh. In the post you show, Pos is just an array. It is not a function.

Sign in to comment.

Categories

Products

Tags

Asked:

Ali
on 24 Jan 2023

Answered:

on 25 Jan 2023

Community Treasure Hunt

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

Start Hunting!