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!