Matlab has an inbuilt function for this, but this one allows for more control, letting you specify the frequency and 'transformation' (eg. level, log, percentage change on year ago). Dates should be ...
GitHub

Matlab_Import_Data.m

data.HeightMeters = data.HeightYards * 0.9144 % If the variable data.HeightMeters doesn't exist, MATLAB creates a new variable in the data table with the name HeightMeters ...