how can i do that in matlab
1 view (last 30 days)
Show older comments
I have M-vector data set. 1) Randomly select a vector A1, and project all the other M − 1 vector to its orthogonal subspace ⟨A1⟩⊥. 2) Find the vector A2 with the maximum projection in ⟨A1⟩⊥, which is considered as the most dissimilar to A1. 3) Project all the other M − 1 vectors to the orthogonal subspace ⟨A2⟩⊥, and find the band A3 with the maximum projection. 4) If A3 = A1, A1 and A2 are confirmed to be the pair with the most significant dissimilarity, and the algorithm is terminated; if A3 ̸= A1, go to the next step. 5) Continue the algorithm until Ai+1 = Ai−1, then either Ai−1 or Ai can be used as the vector selection initial B1 (or Ai−1 and Ai are used as the initial vector pair).
0 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!