Hey everyone. I want to extract numerical data from files lets say g0001.txt to g0060.txt and store it in a matrix with each element is an array.(adsbygoogle = window.adsbygoogle || []).push({});

like this:

M=[g1() g2() g3() ................g60()]

matrix order can be 1 x 60 , i.e. to say 1 row and 60 columns and each element is an array which stores the entire data from g000n.txt. like i want data from g0001.txt in g1() and g0002.txt in g2() and so on.

Also later on i want plot each of these elements with respect to another array by accessing them each.

Each of these .txt files will have around 200 float values.

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Extracting multiple data in a MATLAB matrix

Tags:

Loading...

Similar Threads - Extracting multiple data | Date |
---|---|

MATLAB vector multiplication | Aug 28, 2017 |

Matlab How to extract data from existing JPEG/TiFF graph? | Oct 27, 2016 |

How do I extract elements of a random matrix masked by a circle with its center at A(15,26) | Sep 15, 2016 |

Mathlab code to extract T1 values in MR images | Dec 20, 2015 |

Technology for extracting hand-drawing to computer fast? | Jun 18, 2013 |

**Physics Forums - The Fusion of Science and Community**