MATLAB: Writing data from a double/cell array to excel file

cell arraydoubleexceltranspose

I have some data in 2 variables as shown below
x –> 4×100 double y –> 4×100 double
I would like to transpose this data and write it to an excel file. Any ideas how to implement this?

Best Answer

v=[x;y]
xlswrite('file.xlsx',v)
Related Question