File Exchange

image thumbnail

Reshape triggered data acquisition analog input data

version (2.65 KB) by Michelle Hirsch
This is a utility function for use with the Data Acquisition Toolbox for MATLAB.

1 Download

Updated 04 Dec 2019

From GitHub

View Version History

View license on GitHub

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.

Cite As

Michelle Hirsch (2021). Reshape triggered data acquisition analog input data (, GitHub. Retrieved .

Comments and Ratings (0)

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

Community Treasure Hunt

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

Start Hunting!