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 8233571
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T18:10:31+00:00 2026-06-07T18:10:31+00:00

In matlab I have a 128 by n matrix, which we can call [A

  • 0

In matlab I have a 128 by n matrix, which we can call

[A B C]

where each letter is an 128 by 1 matrix.

So what I want to do is concat the above matrix with another matrix,

[A~ D E].

Where A~ is similar in its values to A.
What I want to get as the result of the concat would be:

[A B C D E],

where A~ is omitted.

What is the best way to do this? Note that I do not know beforehand that A~ is similar.

To clarify, my problem is how would I determine if two columns are similar? By similar I mean where between two columns, many of the row values are close in value.

Maybe an illustration would help as well

Vector A: [1  2   3 4 5 6 7 8   9]'
           |  |   | | | | | |   | 
Vector B: [20 2.4 4 5 0 7 7 7.6 10]' 

where there are some instances where the values are completely different, but for the most part the values are close. I don’t have a defined threshold for this, but ideally it would be something that I could experiment with.

  • 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-07T18:10:33+00:00Added an answer on June 7, 2026 at 6:10 pm

    To solve this, a matching algorithm called vl_ubcmatch can be used.

    [matches, scores] = vl_ubcmatch(da, db) ; For each descriptor in da,
    vl_ubcmatch finds the closest descriptor in db (as measured by the L2
    norm of the difference between them). The index of the original match
    and the closest descriptor is stored in each column of matches and the
    distance between the pair is stored in scores.

    source:
    http://www.vlfeat.org/overview/sift.html

    Thus, the solution is to find the matched columns with the highest scores and eliminate them before concatenating.

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

Sidebar

Related Questions

Say in Matlab I have a matrix like this: 1 2 3 4 5
I have a matlab script, lets call it master.m, that loads a file called
I have some Matlab code and a GUI for it and I want to
I have written a set of Matlab functions and I want to distribute it
I have a matlab script which executes 5 algorithm sequentially. All these 5 algorithms
I have a MATLAB matrix, that is 1000x4, to use as an input for
I wrote a MATLAB script with gui which I also want to let my-coworkers
In Matlab I have this matrix: Grid with dimensions [x,y] I've reshaped it to
i wanted to ask this: If i have this matrix: magnetT=NaN(Maxstep,2); and want to
Can Anfis (Adaptive Neuro-Fuzzy Inference Systems) in Matlab can have more than one output?

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.