Since you are new, let us show you how Trendy works.

Close-button

Bar for PDE Toolbox

  • Created by: Mikhail
  • Latest result: Plot created
  • Created on: 22 Mar 2013

Included from trend description:

Plot Image
% Видео: PDE Toolbox
%   time vector is: time1979
%   data vector is: data1979

data_weekday = [data1979(1); data1979];
watch_diff = diff(data_weekday);

num_weekday = weekday(time1979);
weekday=1:7;

weekday_amount = zeros(1,7);
for i=1:7
weekday_amount(1+mod(5+i,7)) = sum(watch_diff(num_weekday==i));
end

bar(weekday,weekday_amount);
xlabel('days of week: Mon-Sun');
ylabel('amount of views');
Tags:

    Add Tags


    0 comments