pos function does not work

조회 수: 6 (최근 30일)
Ali
Ali 2023년 1월 24일
답변: John D'Errico 2023년 1월 25일
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
Torsten
Torsten 2023년 1월 24일
Can you give a link to this function ? I cannot find it.
John D'Errico
John D'Errico 2023년 1월 24일
@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.

댓글을 달려면 로그인하십시오.

채택된 답변

John D'Errico
John D'Errico 2023년 1월 25일
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.

추가 답변 (1개)

John D'Errico
John D'Errico 2023년 1월 24일
편집: John D'Errico 2023년 1월 24일
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
Ali
Ali 2023년 1월 25일
https://in.mathworks.com/matlabcentral/answers/889452-how-to-get-brushed-data-point-index-from-plot
John D'Errico
John D'Errico 2023년 1월 25일
Sigh. In the post you show, Pos is just an array. It is not a function.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Matrix Indexing에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by