No BSD License  

Highlights from
Calculate number of windows of data

1.0

1.0 | 1 rating Rate this file 1 Download (last 30 days) File Size: 1.03 KB File ID: #6890

Calculate number of windows of data

by Stephen Faul

 

09 Feb 2005 (Updated 14 Feb 2005)

Calculates number of windows a section of data will produce for a certain window length.

| Watch this File

File Information
Description

Takes the data length, window length and window overlap length as inputs and returns the number of windows that will result. Will also return the start samples and end samples of each window if asked.

MATLAB release MATLAB 6.0 (R12)
Other requirements Should work on all releases etc
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
15 Feb 2005 Jos x

Poor use of matlab ...

startpoint = 1:(window_size-overlap):data_len ;
endpoint = startpoint + (window_size-1) ;
numwindows = length(startpoint)-1 ;

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
dsp Stephen Faul 22 Oct 2008 07:41:01
window Stephen Faul 22 Oct 2008 07:41:01
windowing Stephen Faul 22 Oct 2008 07:41:02
data window Stephen Faul 22 Oct 2008 07:41:02
sliding window Stephen Faul 22 Oct 2008 07:41:02

Contact us at files@mathworks.com