Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

How can I make the image of many text files?

1 Ansicht (letzte 30 Tage)
Jungbae Yoon
Jungbae Yoon am 23 Jan. 2018
Geschlossen: MATLAB Answer Bot am 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

Antworten (1)

Image Analyst
Image Analyst am 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.

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by