Insert element in to array and resize.
Show older comments
I have four part of data for chart drafting: T(t) and T3(t1)
t T t1 T3
0 20,25 0 20,25
0,1 20 0,05 19,75
0,2 19,75 0,1 19
0,3 19,25 0,15 17,5
"t" have 0,1 tick but "t1" have 0.05 tick. I want sort the data in loop like this:
t T t1 T3
0 20,25 0 20,25
0,05 NaN 0,05 19,75
0,1 20 0,1 19
0,15 NaN 0,15 17,5
0,2 19,75 0,2 15,75
0,25 NaN
0,3 19,25
arrayThat means, that i must insert a row between every 2 rows in t and T and add data. Anyone have any idea how I can do it?
Accepted Answer
More Answers (0)
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!