Passing values from an excel file to another using matlab
1 次查看(过去 30 天)
显示 更早的评论
I have a matrix in excel with negative values. I want to create a new matrix in an excel file with the absolute values of the previews one. Can anyone share with me the matlab code in order to accomplish this ? Any help could be useful.Thanks in advance.
0 个评论
采纳的回答
Guillaume
2015-11-5
writetable(varfun(@abs, readtable('inputfile.xlsx')), 'outputfile.xlsx')
may do what you want.
5 个评论
Image Analyst
2015-11-5
What version do you have? I think readtable() came with R2013b or so. Can you attach your workbook?
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!