hi there, i was wondering if there is an easy way to export a volumetric data of DTI (calculated tensor) in a particular format. Such as % Grid ————this row defines the coordinates of a 3D data % Data———–this section describes the data itself. The main issue so far is the use of “%” itself as i need it to define the column for coordinates and Data. I have tried “dlmwrite” function to first define coordinates in three consecutive rows and then by making use of offset option generated a gap between Grid and data and then i manually edited that portion. The issue of size for more practical volume data would definitely hinder me from opening such a gigantic file in any note editor package. So i was wondering if there is any possible way to include “%” at those particular locations in a file. Thanks
MATLAB: Use of “%” in exported file
general matlab usageMATLAB
Related Question
- Hi, How to remove white spaces from A=[1 0 0 0 1] binary data & how to copy the binary data in A to a text file?. Thanks in advance.
- How to include complex numbers in fprintf function
- Does a .dat file look good in Matlab, then open with incorrect formatting externally?
- How to begin overwriting a txt file from a specific line
- How to use fprintf to print an mxn matrix of values to a file
- Save data to .txt file
- Transpose column from .csv file
Best Answer