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

1 Ansicht (letzte 30 Tage)
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

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 23 Mai 2012
single_column = YourMatrix(:);

Weitere Antworten (0)

Kategorien

Mehr zu Data Type Conversion finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by