Info
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
Construct image from given file
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
these are the codes of my script to open the attached file
f= fopen('d20160413.txt');
c = textscan(f,'%s','delimiter','\n');
fclose(f)
c = c{:};
[~,~,~,v] = regexp(c,'\d*\.\d+E[\-\+]\d{2}')
out = reshape(str2double([v{:}]),27,[]);
however, i cannot construct the image from the code. I have used imshow(out) to get the image but it doesnt work.
5 Commenti
Walter Roberson
il 13 Ott 2016
27 x 27 is all that is in that file. You can imshow() it with an InitialMagnification to show in a larger window, but there just isn't more data there.
Risposte (0)
Questa domanda è chiusa.
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!