Problem to Read .txt file
Ältere Kommentare anzeigen
Hello all.. I have problem to read my .txt file. I already convert my image to .txt file. My image size is 100x100. How to read it and use it in for loop ? here is my coding to change to image to .txt file.
a = imread('img2.jpg');
b = imresize(a,[100,100])
dlmwrite('test4.txt', b, 'delimiter', ',');
d = dlmread('test4.txt');
[x,y] = size(d);
i want to make comparison between two .txt file.That is why i need to read the .txt file.
2 Kommentare
Thorsten
am 21 Nov. 2014
OK. But what exactly is your problem?
Akmal Rahmat
am 21 Nov. 2014
Akzeptierte Antwort
Weitere Antworten (1)
Kategorien
Mehr zu Large Files and Big Data finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!