Use matchpairs to match the taxis to quite possibly the most lucrative rides. Specify 3 outputs to return any unmatched rows and columns, as well as 'max' selection To optimize the gains. Specify the price of unassignment as zero, because the company tends to make no dollars from unfilled taxis https://augusttyats.bloggip.com/26563118/helping-the-others-realize-the-advantages-of-online-matlab-help