pos function does not work
25 views (last 30 days)
Show older comments
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
John D'Errico
on 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.
Accepted Answer
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.
0 Comments
More Answers (1)
John D'Errico
on 24 Jan 2023
Edited: John D'Errico
on 24 Jan 2023
which pos
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
John D'Errico
on 25 Jan 2023
Sigh. In the post you show, Pos is just an array. It is not a function.
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!