Passing values from an excel file to another using matlab
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Konstantinos
am 5 Nov. 2015
Kommentiert: Konstantinos
am 5 Nov. 2015
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 Kommentare
Akzeptierte Antwort
Guillaume
am 5 Nov. 2015
writetable(varfun(@abs, readtable('inputfile.xlsx')), 'outputfile.xlsx')
may do what you want.
5 Kommentare
Image Analyst
am 5 Nov. 2015
What version do you have? I think readtable() came with R2013b or so. Can you attach your workbook?
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Spreadsheets finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!