annotate arrows/sweep.m @ 6:0ce3c2070089

Removed duplicate code and fixed doc in timed_action.
author samer
date Mon, 14 Jan 2013 14:33:37 +0000
parents 672052bd81f8
children
rev   line source
samer@0 1 % sweep - arrow to create sweeping plot of real valued signals
samer@0 2 %
samer@0 3 % sweep ::
samer@0 4 % W:natural ~'width of plot in samples',
samer@0 5 % -> arrow({[[N,1]]}, {}, pair([[N,W]],pair(empty,empty))).
samer@0 6 %
samer@0 7 % If input vectors are N dimensional, this will plot
samer@0 8 % N lines showing their history over the last W samples.
samer@0 9
samer@0 10
samer@0 11 function b=sweep(width,varargin)
samer@0 12 b=asweep(width,nan)*arr(@transpose)*plotter(varargin{:});