hwo to normalise the points with matlab command

i am using this command for normalising -[p1,t1] = Normalise2DPts(p1); [p2,t2] = Normalise2DPts(p2); when i am running this in matlab it gives me this error- Undefined function or variable 'Normalise2DPts' can any one help me what command should i use or i am doing error p1 and p2 are p1 and p2 are 2xN matrix

3 件のコメント

Stephen23
Stephen23 2017 年 9 月 22 日
編集済み: Stephen23 2017 年 9 月 22 日
Either write that function or get someone else who has written it to give it to you. Perhaps you meant to download it from here:
praveen rai
praveen rai 2017 年 9 月 25 日
https://in.mathworks.com/matlabcentral/fileexchange/47032-camera-geometry-algorithms?focused=3822623&tab=function in this link there is code from where i copied
Star Strider
Star Strider 2017 年 9 月 25 日
See my Answer for relevant details.

サインインしてコメントする。

回答 (1 件)

Star Strider
Star Strider 2017 年 9 月 22 日

0 投票

The function you want is in the File Exchange: normalise2dpts(pts) (link). You can download it through the linked page.
Also, MATLAB is case sensitive, so you will have to call it as:
[p2,t2] = normalise2dpts(p2);

3 件のコメント

praveen rai
praveen rai 2017 年 9 月 22 日
giving the same error-Undefined function or variable 'normalise2dpts' should i seperately defined this function like user defined function if yes how should i do??
José-Luis
José-Luis 2017 年 9 月 22 日
編集済み: José-Luis 2017 年 9 月 22 日
Are you running it from the folder you downloaded it to? Did you add that folder to the path?
Star Strider
Star Strider 2017 年 9 月 22 日
You have to download it and copy it to your MATLAB user path. In Windows, this is: ‘C:\Users\-UserName-\Documents\MATLAB\’. Then you should be able to use it.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeDownloads についてさらに検索

質問済み:

2017 年 9 月 22 日

コメント済み:

2017 年 9 月 25 日

Community Treasure Hunt

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

Start Hunting!

Translated by