Pass values from a row to a column
1 view (last 30 days)
Show older comments
Sofia Santos
on 9 May 2020
Commented: Sofia Santos
on 9 May 2020
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.![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/291587/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/291587/image.png)
0 Comments
Accepted Answer
Walter Roberson
on 9 May 2020
writematrix(FWHM_all.', 'AppropriateFileName.xlsx');
or
xlswrite('AppropriateFileName.xlsx', FWHM_all.')
More Answers (0)
See Also
Categories
Find more on Spreadsheets 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!