Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

How can I make the image of many text files?

1 vue (au cours des 30 derniers jours)
Jungbae Yoon
Jungbae Yoon le 23 Jan 2018
Clôturé : MATLAB Answer Bot le 20 Août 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

Réponses (1)

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

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by