MATLAB Answers

Extract values from single data matrix

3 views (last 30 days)
Tina
Tina on 24 Sep 2016
Commented: Star Strider on 25 Sep 2016
Hi there!
I have managed to import several TXT files (single column files) into a single data matrix, would need some advice for extracting values or concatenating them into a single variable.
Thank you very much.
Tina

  3 Comments

Star Strider
Star Strider on 24 Sep 2016
Unless I’m missing something, it seems you already did that by your description. You had to name your ‘single data matrix’ something (that is, assign it to some variable name). That is the name of your variable for it.
Tina
Tina on 25 Sep 2016
Hi! Thank you. The problem I had was that the resulted matrix was a list of files and did not extracted values. I have managed to rearrange the script. Thank you again!
Star Strider
Star Strider on 25 Sep 2016
My pleasure. (I’m not sure what it was I did!)

Sign in to comment.

Answers (1)

George
George on 24 Sep 2016
Take a look at horzcat and vertcat.

  0 Comments

Sign in to comment.

Sign in to answer this question.

Tags


Translated by