Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

How can I make the image of many text files?

1 view (last 30 days)
Jungbae Yoon
Jungbae Yoon on 23 Jan 2018
Closed: MATLAB Answer Bot on 20 Aug 2021
Hi I am beginner of Matlab I want to make the image of many text files of pixel data from camera(300 by 300 matrices). first of all I want to make the gif files with the whole data(like video) Secondly I want to pick the nth raw or column and gather all of them in 500 txt files(or 1000 files) and make the raw X frames plot ( so I want to get totally three images) If it is possible can I set the maximum and minimum values as the minimum and maximum of all values in 500 files? I attached a few files instead of all and please start open the path

Answers (1)

Image Analyst
Image Analyst on 23 Jan 2018
Try importdata() or dlmread(). Then use min(array(:)) and max(array(:)) over all your arrays to get the global mean.
The faq will help you read in all the different files: http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F Put the calls to importdata() and min() and max() in the center of the for loop.

This question is closed.

Community Treasure Hunt

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

Start Hunting!