5.0

5.0 | 4 ratings Rate this file 40 Downloads (last 30 days) File Size: 3.83 KB File ID: #24255

Consecutive vector spliter

by Bruno Luong

 

25 May 2009 (Updated 26 Aug 2011)

Partition an input vector into smaller series of subvectors of consecutive elements

| Watch this File

File Information
Description

It says all in the summary. Nothing fancy just a convenient tool for spitting vectors.

MATLAB release MATLAB 7.8 (R2009a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (4)
04 Dec 2009 Joshua Arnott

Just what I was looking for!

http://www.mathworks.com/matlabcentral/newsreader/view_thread/267620

23 Feb 2010 Tom Toner

Thanks a lot for such a great function!

23 Feb 2010 John D'Errico

As you would expect of all of Bruno's submissions, it does exactly what it says it will do. Superb documentation.

04 Feb 2011 Sauro Salomoni

Ingenious! Clearly explained and easy to follow. Thank you very much!

Please login to add a comment or rating.
Updates
28 May 2009

multiple column grouping capability

21 Jun 2009

correct bug when function handle is passed in second input

22 Jun 2009

Correct minor bug

07 Jul 2009

correct bug for empty array, group function
Add output types: 'firstval' 'lastval'

02 Feb 2010

fix the bug when 'loc' is required and when working down the columns of matrix

26 Aug 2011

New builtin outputs: blockID and subsetorder

Tag Activity for this File
Tag Applied By Date/Time
split vectors Bruno Luong 26 May 2009 12:34:27
cell Bruno Luong 26 May 2009 12:34:27
array Bruno Luong 26 May 2009 12:34:27

Contact us at files@mathworks.com