I am trying to combine three different sizes of matrices. One 1×3 (strings), second 8759×3 (numbers), third 1×4 (strings and numbers). My goal is to have the first one 1×3 as a heading, then put the second, 8759×3, below the first one. Finally add the third one next to the three columns. Is there a way to do it in matlab? Maybe using structures? I already tried vercat and cat, but it did not work.
H_data = [H_DB H_DP H_RH]; % One 1x3
Temp_data = [T_DB T_DP RH]; % Two 8759x3
O_data = [City State Lat Lon]; % Three 1x4
Thank you,
Eric
Best Answer