export comma separated values to excel

5 views (last 30 days)
mahesh chathuranga
mahesh chathuranga on 13 May 2014
Answered: Image Analyst on 13 May 2014
[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.

Image Analyst
Image Analyst on 13 May 2014
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!