export comma separated values to excel

[pks,locs] = findpeaks(A) it gives two values for pks and locs. pks= 23 56 locs= 2 5 i want to save this output into a excel sheet. there are no of raws for results. how can i do this?

Answers (2)

Andreas Goser
Andreas Goser on 13 May 2014
Edited: Andreas Goser on 13 May 2014
It is not clear with you are unaware of the XLSWRITE command or unable to run it successfully.
Try csvwrite() for a .csv text file, or xlswrite() to create an .xlsx workbook.

Asked:

on 13 May 2014

Answered:

on 13 May 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!