File Exchange

image thumbnail

Reshape triggered data acquisition analog input data

version (1.36 KB) by Michelle Hirsch
Reshape triggered data acquisition analog input data, removing NaN's.


Updated 01 Sep 2016

View License

When you use an analoginput object from the Data Acquisition Toolbox to capture data which which spans multiple triggers, the data from each trigger is separated by NaNs. This function strips out the NaNs and reshapes the data, adding one dimension for trigger. There will be one "column" in the extra dimension for each trigger, yielding an output array of size NSamples x NChannels x NTriggers.

Comments and Ratings (0)


Updated license

Made available as an easy-to-install MATLAB Toolbox file.

Update copyright and description.

MATLAB Release Compatibility
Created with R12.1
Compatible with any release
Platform Compatibility
Windows macOS Linux