unique elliptic curve points

1 vue (au cours des 30 derniers jours)
sadiqa ilyas
sadiqa ilyas le 17 Août 2019
Commenté : sadiqa ilyas le 17 Août 2019
I have few points (0,8),(0,64),(28,1)(28,66),(9,47)(9,20),(54,20)(54,47),(21,10),(21,51)
Is there any matlab command which checks the x coordinate and select only unique point (based on x coordinate)
e.g (0,8),(28,66)(9,47),(54,20),(21,10)

Réponse acceptée

Bruno Luong
Bruno Luong le 17 Août 2019
use UNIQUE command
  4 commentaires
Bruno Luong
Bruno Luong le 17 Août 2019
P=[0 8
0 59
4 20
4 47
5 23
5 44
9 20]
[~,i]=unique(P(:,1));
P(i,:)
sadiqa ilyas
sadiqa ilyas le 17 Août 2019
It works Thanks but how to arrange in table 8*n form

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by