I have written code to extract data from txt file.The extracted data values are not same. Attached is code as well as file. I shall be thankful if someone would help me out. Thanks

Antworten (1)

Azzi Abdelmalek
Azzi Abdelmalek am 1 Mai 2016

0 Stimmen

a=importdata('Run5.txt',' ',2)
out=a.data

2 Kommentare

E R SH RAJ Male
E R SH RAJ Male am 1 Mai 2016
Out put is required in one column
Your text file shows multiple columns, if you want one column, use reshape function, or
out=out(:)

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Large Files and Big Data finden Sie in Hilfe-Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by