Home > vbmeg > external > mne > mne_transpose_named_matrix.m

mne_transpose_named_matrix

PURPOSE ^

SYNOPSIS ^

function [res] = mne_transpose_named_matrix(mat)

DESCRIPTION ^

 [res] = mne_transpose_named_matrix(mat)

 Transpose a named matrix

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [res] = mne_transpose_named_matrix(mat)
0002 %
0003 % [res] = mne_transpose_named_matrix(mat)
0004 %
0005 % Transpose a named matrix
0006 %
0007 
0008 %
0009 %
0010 %   Author : Matti Hamalainen, MGH Martinos Center
0011 %   License : BSD 3-clause
0012 %
0013 %   Revision 1.2  2006/04/23 15:29:41  msh
0014 %   Added MGH to the copyright
0015 %
0016 %   Revision 1.1  2006/04/18 23:21:22  msh
0017 %   Added mne_transform_source_space_to and mne_transpose_named_matrix
0018 %
0019 %
0020 
0021 res.nrow = mat.ncol;
0022 res.ncol = mat.nrow;
0023 res.row_names = mat.col_names;
0024 res.col_names = mat.row_names;
0025 res.data      = mat.data';
0026 
0027 return;
0028 
0029 end
0030

Generated on Mon 22-May-2023 06:53:56 by m2html © 2005