MATLAB Answers

Extract values from single data matrix

3 views (last 30 days)
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.


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 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 on 24 Sep 2016
Take a look at horzcat and vertcat.


Sign in to comment.

Sign in to answer this question.


Translated by