matlab - loading .mat files that contain structures -
i have my_vtformat.mat file.
load( 'my_vtformat.mat')
whos -file my_vtformat.mat
name size bytes class attributes
out 1*1 162530720 struct
out: vt: [16163840 * 121 double]
sizex : 64 sizey : 64 sizez : 40 sizet : 121 coorx : [163840*1 double] coory : [163840*1 double] coorz : [163840*1 double] my question how can convert .mat file matrix, column denotes number of voxels; row denotes time series. means each column time series of voxel. can utilize matrix .mat file matrix calculation. give thanks guys! appreciated!
i guess in line out: vt: [16163840 * 121 double] should 163840 * 121 , not 16163840 * 121. if guess correct, info in form of matrix. code query next (assuming "out" structure):
data=out.vt; data=data'; % matrix size 121 * 163840 , each column corresponds to... % coorx(i),coory(i),coorz(i) voxel i=1,2,3....163840. if not work you, please provide sample file, can provide solution.
matlab
No comments:
Post a Comment