how to get the transpose of hexadecimal array from text file ..any code related this

2 views (last 30 days)
how to get the transpose of hexadecimal array from text file ..any code related this..below data in txt file. 431B65D9C3176957 C022C9A543135153 C2EE4BF7429E6DBD 42AF3DBC3F9DD2E8
I want to it in[431B65D9C3176957 C022C9A543135153 C2EE4BF7429E6DBD 42AF3DBC3F9DD2E8] this way..

Accepted Answer

Andrei Bobrov
Andrei Bobrov on 28 May 2015
f = fopen('your_text_file.txt');
c = textscan(f,'%s','delimiter','\n');
fclose(f);
out = c{:}

More Answers (0)

Categories

Find more on Characters and Strings in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!