annotate arrows/sweep.m @ 42:ae596261e75f
Various fixes and development to audio handling
author |
samer |
date |
Tue, 02 Dec 2014 14:51:13 +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{:});
|