function []=tduni_plot(res) % PURPOSE: Generate graphic output of the BFL or Denton % temporal disaggregation method % ------------------------------------------------------------ % SYNTAX: tduni_plot(res); % ------------------------------------------------------------ % OUTPUT: Graphic output: % - High and low frequency series: y vs Y % ------------------------------------------------------------ % INPUT: res: structure generated by bfl or denton programs % ------------------------------------------------------------ % LIBRARY: temporal_agg % ------------------------------------------------------------ % SEE ALSO: bfl, denton_uni, tduni_plot % written by: % Enrique M. Quilis % Instituto Nacional de Estadistica % Paseo de la Castellana, 183 % 28046 - Madrid (SPAIN) % 1: Generation of a 'naive' high freq. series using low freq. data % 2: Plot of low freq. input and high freq. output (divided by s) n = res.N * res.s; Y = temporal_agg(res.y,res.ta,res.s); i=1; t=1; ya=zeros(n,1); % Initial allocation while (t<=res.N) c=0; while (c