%% Interquartile Range of Sample Data
% Create a timeseries object and compute the interquartile range of the sample data.

ts = timeseries((1:10)');
tsiqr = iqr(ts)

% Copyright 2012 The MathWorks, Inc.