%% Compute the Cumulative Sum
% This example shows how to compute the cumulative sum for Disney stock and plot the results.

load disney.mat 
cs_dis = cumsum(fillts(dis));
plot(cs_dis)
title('Cumulative Sum for Disney')

% Copyright 2015 The MathWorks, Inc.