MATLAB Answers

How do I import this text file (attached) into MATLAB and also rearrange the data into a table format so that I can plot the first two or three rows of values of each chemical species?

1 view (last 30 days)
Magesh Ravindran
Magesh Ravindran on 1 Jun 2017
Answered: Sid Jhaveri on 6 Jun 2017
I want to import a large text file into MATLAB which is not in a proper format. There are many chemical species and I need to separate them in a table format or array and plot them.

  1 Comment

Jan
Jan on 1 Jun 2017
Okay. What is your question? If the text file is not in a "proper" format, how can we guess, which parts of it are wanted and how do you want to import them? What is a "chemical special" and how do you want to handles them? What do you want to plot?
Please provide any details and ask a specific question.

Sign in to comment.

Answers (1)

Sid Jhaveri
Sid Jhaveri on 6 Jun 2017
The " readtable " function might be useful. It can read data from a text file and store it as a table in MATLAB.

  0 Comments

Sign in to comment.

Sign in to answer this question.