Create a total data with different subdata

2 views (last 30 days)
I have several data named ET1_A_C1_l1 , ET1_A_C2_l1 , ET1_A_C3_l1 ,......, ET1_A_C63_l1 in Workspace. Besides that,I also have another sets of data named ET1_H_C1_l1 , ET1_H_C2_l1 ,...... ET1_A_C63_l1.
Now I need to combine 2 set of data into one named Total_data.mat. For example,
Total_data=[ET1_A_C1_l1 ET1_A_C2_l1 ET1_A_C3_l1 ..... ET1_A_63_l1;ET1_H_C1_l1 ET1_H_C2_l1 ....ET1_H_63_l1]
##all the variables are 6x2 numeric matrix and both are the same size.##
and need to take a huge of time to type the code one by one..Is there any idea using the loop to do this??
Thanks.

Accepted Answer

Walter Roberson
Walter Roberson on 27 Nov 2012
Don't create your variable names that way in the first place ?

More Answers (0)

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!