MATLAB Answers

Is it possible to code something like a genetic algorithm for 2 columns in an excel file?

1 view (last 30 days)
Wolfgang McCormack
Wolfgang McCormack on 15 Mar 2021
Commented: Walter Roberson on 15 Mar 2021
Hi all, I have a question. I have two columns in an excel file each having 100 values. Do you think or is there any thing that offers something like genetic algorith that finds the best matching row based on my needs? I want to find the best match where the second column has the maximum value and the first column is minimum. I thought of a stupid way but it's not really genetic algorith or something similar; my initial thought was defining a 75 threshold for the second column and try to find row that match and then sort based on the minimum for the first columns.
I really appreciate any input. Thanks
  3 Comments
Walter Roberson
Walter Roberson on 15 Mar 2021
So the best match is the one that has the most 7's in the first 77 decimal places of the sum of all of the other numbers, divided by the number to be tested?

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by