How to save N number of files in to single binary data file in column major order

1 view (last 30 days)
Hi all I am working on projection files which I saved as .tif files. In order to open them through a GUI, I should concatenate these files in to single binary data file in column major order. I tried using 'fopen'. I tried to reshape those files in order to get themas a single column file. But I got an error ,"reshape requires same number of elements". WHere do i go wrong. your help is much appreciated

Accepted Answer

Walter Roberson
Walter Roberson on 23 May 2012
single_column = YourMatrix(:);

More Answers (0)

Community Treasure Hunt

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

Start Hunting!