annotate sequences/subseqdata.m @ 3:3f77126f7b5f
First major revision of sequence library, now using classdef form, STILL A BIT BROKEN!
author |
samer |
date |
Wed, 09 Jan 2013 22:22:21 +0000 |
parents |
672052bd81f8 |
children |
b1280319413e |
rev |
line source |
samer@0
|
1 function o=subseqdata(X,ranges,varargin)
|
samer@0
|
2 % SUBSEQDATA - Sequence of subranges of a large array
|
samer@0
|
3 %
|
samer@0
|
4 % subseqdata ::
|
samer@0
|
5 % [[N,M]] ~ 'big array',
|
samer@0
|
6 % [[2,K]] ~ 'start and end indices'
|
samer@0
|
7 % -> data [[N,M]]. ~ 'resultant sequence'.
|
samer@3
|
8 o=fnseq(@(r)extract(X,2,r),window(ranges),'sizecheck',1);
|
samer@0
|
9 end
|
samer@0
|
10
|
samer@0
|
11
|
samer@0
|
12
|
samer@0
|
13
|