How to combine 2 single column variables in to 1 double column variable and output it to a csv or txt file with a header for each column?
2 views (last 30 days)
Keng-Yew Paul Chan on 26 Apr 2023
I have 2 variables that are 262144 rows by 1 column, variable names are "Freq" and "amp". I'm trying to combine them into a single variable of 262144 rows by 2 columns and have header at the top row of each column output to a txt or csv file. I've been through many answers on here to combine and output the results but i can't seem to make it work for me.