Use matchpairs to match the taxis to by far the most lucrative rides. Specify a few outputs to return any unmatched rows and columns, plus the 'max' option To optimize the gains. Specify the price of unassignment as zero, since the company tends to make no dollars from unfilled taxis https://mylesuiykt.blogdiloz.com/26248502/detailed-notes-on-matlab-homework-help