image thumbnail

simonhenin/mat2ft

version 1.0.0.0 (12.4 KB) by Simon Henin
matrix to fieldtrip structure

18 Downloads

Updated 26 Sep 2017

From GitHub

View license on GitHub

convert eeg data matrix to fieldtrip data structure
ft_data = mat2ft(X, fs) transforms the data in X (samples x channels x trials) into a fieldtrip compatible data structure

ft_data = mat2ft(X, fs, varargin)
accepts optional arguments:
'labels' - 1xChannels cell array of channels labels
'offset' - pre-stimulus offset, in seconds

shenin@gc.cuny.edu
simon.henin@nyumc.org
(c) September, 25th, 2017
Sept. 25th 2007 - version 1.0

Cite As

Simon Henin (2022). simonhenin/mat2ft (https://github.com/simonhenin/mat2ft), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.