%% Calculate the Typical Price for a Data Series for a Stock
% Load the file SimulatedStock.mat, which provides a timetable (TMW) for financial data for TMW stock.

load SimulatedStock.mat
TypicalPrice = typprice(TMW);  
plot(TypicalPrice.Time,TypicalPrice.TypicalPrice)
title('Typical Price for TMW')

% Copyright 2012 The MathWorks, Inc.