Pass values from a row to a column

3 views (last 30 days)
Hello, I have a script in Matlab that returns values ​​that I want to save in Excel, but the size is 1x194 so they are saved in Excel as a line, as in the image, and I want to save it in a column, do you know how to solve that?
Thank you very much.

Accepted Answer

Walter Roberson
Walter Roberson on 9 May 2020
writematrix(FWHM_all.', 'AppropriateFileName.xlsx');
or
xlswrite('AppropriateFileName.xlsx', FWHM_all.')

More Answers (0)

Categories

Find more on Data Import from MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!