Use matchpairs to match the taxis to essentially the most rewarding rides. Specify a few outputs to return any unmatched rows and columns, as well as the 'max' choice To maximise the revenue. Specify the expense of unassignment as zero, since the business will make no money from unfilled taxis https://archersxwzo.onesmablog.com/indicators-on-pay-someone-to-take-matlab-homework-you-should-know-66938445