Set of points to Cartesian system
古いコメントを表示
Hello,
what whould be the fastest way to calculate the Cartesian coordinates from a distance matrix? First vertex would be at x=0 y=0 and second vertex at x=0 y=dist(V1V2).
THX
採用された回答
その他の回答 (2 件)
Walter Roberson
2011 年 12 月 8 日
x = zeros(1+length(Dists),1);
y = [0; cumsum(Dists(:))];
Ah, the joys of not providing sufficient examples...
カテゴリ
ヘルプ センター および File Exchange で Dimensionality Reduction and Feature Extraction についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!