I have two sets of data with different dimensions. I would like to use the Table function to create data to fill the dimensions and append it to the set, so both sets have the same dimensions.
I would like to start from the last value and create various x values (up to 2500) while the y can stay the same. So that data2 {917, 2} matches the dimensions of data 1 {1337,2}. Any insight would be greatly appreciated.
Data is here: https://docs.google.com/spreadsheets/d/1Z-tVwtRmt6UD3v67eMO0e5lws8wwZ6G3hLaZJkETSK0/edit?usp=sharing
In[1]:= data1 =
Import["/Users/julissavelasquez/Box/1_Harrison Lab/03_Formic \
Acid/Wodtke_2021_Fig4C/hyperthermal_dist.xlsx", "SkipLines" -> 2][[1]];
In[2]:= data2 =
Import["/Users/julissavelasquez/Box/1_Harrison Lab/03_Formic \
Acid/Wodtke_2021_Fig4C/thermal_dist.xlsx", "SkipLines" -> 2][[1]];
In[3]:= {Dimensions[data1], Dimensions[data2]}
Out[3]= {{1337, 2}, {917, 2}}
In[4]:= data2[[1 ;; 2]]
Out[4]= {{2.9895, 0.00054879}, {5.979, 0.00054814}}
In[5]:= data2[[-2 ;; -1]]
Out[5]= {{2487.29, 2.7924*10^-6}, {2490.28, 2.1354*10^-6}}
In[6]:= Table[data2, {i, 2490.28, 2500}]
Out[6]= If[25048064219406400976 === $SessionID,
Out[6], Message[
MessageName[Syntax, "noinfoker"]]; Missing["NotAvailable"]; Null]
2.1354*10^-6
? $\endgroup$