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!