Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7799245
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T00:14:46+00:00 2026-06-02T00:14:46+00:00

I need to match the samples in two datasets. What I have is the

  • 0

I need to match the samples in two datasets. What I have is the distance between all the samples in the dataset and arrange them in a matrix as shown below. There can be different number of samples hence it is not a square matrix. For example,

    3 4 
    6 2 
    1 9 

Its a 3 by 2 matrix defining distance between samples in two datasets. I need to select the pairs of samples having minimum distance such that one sample is not selected twice. Here, my answers would be 3 and 1; 2 and 2. The 1st item in the first is left out as it does not have minimum with other samples. However, I also need to know which samples was not selected. Is there a shortcut method to accomplish this in matlab.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T00:14:48+00:00Added an answer on June 2, 2026 at 12:14 am

    I believe that this problem is known as minimum weight bipartite matching. I am not sure whether Matlab provides an algorithm for that out-of-the-box, but I found (not tested, though) an implementation here: http://www.mathworks.com/matlabcentral/fileexchange/11609

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a set of subgraphs and I need to match them on the
I have this schema which I need to match 2 rows from user_data :
I have two documents that I need to merge, that happen in a way
I have a sample file from a customer and need to match the schema
I have a database of job descriptions, and I need to match these descriptions
All the samples I have seen so far seem to be using an earlier
I need to match input strings (URLs) against a large set (anywhere from 1k-250k)
I need to match a image url like this: http://site.com/site.com/files/images/img (5).jpg Something like this
I need to match a fixed width field on a file layout with a
I need to match in ANTLR a message containing 2 fields separated by a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.