Generic function to convert various fMRI dataset types to matrix_dataset objects. Provides a unified interface for getting matrix-based representations.
Details
This function converts different dataset representations to the standard matrix_dataset format, which stores data as a matrix with timepoints in rows and voxels in columns. This is useful for algorithms that require matrix operations or when a consistent data format is needed.
See also
matrix_dataset for creating matrix datasets,
get_data_matrix for extracting data as matrix