export comma separated values to excel

4 次查看(过去 30 天)
[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?

回答(2 个)

Andreas Goser
Andreas Goser 2014-5-13
编辑:Andreas Goser 2014-5-13
It is not clear with you are unaware of the XLSWRITE command or unable to run it successfully.

Image Analyst
Image Analyst 2014-5-13
Try csvwrite() for a .csv text file, or xlswrite() to create an .xlsx workbook.

Community Treasure Hunt

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

Start Hunting!

Translated by