Ranking based on certain criteria?

  • Example
  • [Time, Shop bought from, Amount bought, Various shops and amount offered]
  • [1:00, Roxys , 5 , Roxys , 8, Benny's, 0, Frankies, 10]
  • Okay so in this first example, I have bought 5 items from Roxy's.There are also two other shops offering items: we Have benny's offering 0 and Frankie's offering 10.
  • I need help ranking these shops with the following criteria firstly from who I actually bought the Items from therefore Roxy's is good. Secondly the amount offered by the shop, Even those Roxy's offered 8 and Frankie's offered 10 I only got 5, that's not good I should have gotten all 8 or all 10 if I bought from Frankie's. Lastly I can't include Benny's in this line of ranking because the offered 0.this is one line I have about a 100, with these same three shops I need to rank them based on the criteria before. Would you know how? Thank you

2 Kommentare

Stefan Reich
Stefan Reich am 28 Jul. 2016
avedakid
avedakid am 29 Jul. 2016
Thank you very much

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Programming finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 26 Jul. 2016

Kommentiert:

am 29 Jul. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by