Appending multiple variables onto a single file
Mostrar comentarios más antiguos
Hey all! So I'm having a bit of an issue in saving variables onto a single file. I have a variable called 'map' which is the result of a piece of code that I run for one single file at a time. I want to combine all the 'map' variables for all the files that I'm using to give me an image as the final result. The input for the final result is as follows
figure; imagesc(mean(map,3)); axis image; colormap(1-gray(256))
What is the best way to combine one map variable from one file with another map variable from another file, so that I can get a combined image for the figure. Saving the variables to a single .mat file just seems to overwrite the previous 'map' variable. Thanks in advance! Also the 'map' variable is a 1069X1900 double.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Data Import and Analysis en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!