SplitData

Extracts the specified rows of data from one file into one or more new files.
418 download
Aggiornato 13 feb 2012

Visualizza la licenza

The SplitData function splits the data at FILENAME into different files according to the information provided in TRIAL_INFO. The original file is not changed in any way. (The function Util_GetFileInfo.m is required for use, and is also available at MATLAB's File Exchange.)

INPUTS:
> FILENAME - The location of the source data. A text file is expected (e.g., 'Data.txt').
> TRIAL_INFO - An Nx2 matrix, where each row contains the starting time and length (in seconds) of the N trials to be extracted. A time of 0 s corresponds to sample number 1.
> FS - The sampling rate (Hz).

OUTPUTS:
> none.

Written by Alex Andrews, 2012.
Last updated: February 13th, 2012.

--------------------------------
FeatureFinder is a free MATLAB tool that lets you organize your signals, visually review them with speed and ease, apply filters and normalization, and export meaningful signal features in a ready-to-analyze format. Visit www.featurefinder.ca to learn more.

Cita come

Feature Finder (2025). SplitData (https://it.mathworks.com/matlabcentral/fileexchange/35064-splitdata), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2011b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Signal Processing Toolbox in Help Center e MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0