xlswrite in case of vectors
I have a .mat file which contains titles={'time','data'} and 2 column vectors: time=[1;2;3;4;5] and data=[10;20;30;40;50] . I created a new cell called table={'time','data';time data} and i used: xlswrite(filename,table); However, when i open the xlsx file it shows me only the titles and not showing the numbers. I saw that xlswrite will show empty cell in case im trying to export more than 1 number in a cell. Is there anything i can do to export the whole vector instead of writing each value in it's cell? The final result that i tried to get is like this: time data 1 10 2 20 3 30 4 40 5 50 You