MATLAB: How to take a difference within the data of the same city but not across the city, Part 2

duplicate post

Suppose I have table T
City Date Cumulative_Visitors
-----------------------
NY January 1 100
NY January 2 150
NY January 3 200
SF January 1 70
SF January 2 200
SF January 3 400
In Part 1, I learned to create a 2*1 cell U where the first cell is the data of new_visitors for NY and the second cell is the data of new_visitors for SF. How can one merge T and U?