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?

Réponses (2)

Andreas Goser
Andreas Goser le 13 Mai 2014
Modifié(e) : Andreas Goser le 13 Mai 2014

0 votes

It is not clear with you are unaware of the XLSWRITE command or unable to run it successfully.
Image Analyst
Image Analyst le 13 Mai 2014

0 votes

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