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

1 visualizzazione (ultimi 30 giorni)
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

Risposta accettata

Walter Roberson
Walter Roberson il 23 Mag 2012
single_column = YourMatrix(:);

Più risposte (0)

Categorie

Scopri di più su Data Type Conversion in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by