How to add column (after multiplication) in file imported from excel

조회 수: 1 (최근 30일)
Mohsin Munir
Mohsin Munir 2021년 8월 25일
댓글: Mohsin Munir 2021년 8월 25일
I have an excel file. I imported the whole table using readtable command. Now i want to apply multiply and conditions on various columns which will result in new columns. I want to add those columns in the same file. how do i proceed
  댓글 수: 1
Mohsin Munir
Mohsin Munir 2021년 8월 25일

Thanks. I would like to know how we can link excel formulae in columns with matlab. Is this possible?

댓글을 달려면 로그인하십시오.

채택된 답변

Wan Ji
Wan Ji 2021년 8월 25일
Then if you have new column named newColumn
previousTable = readtable('...');
newTable = [previousTable, table(newColunm)];
writetable(newTable, 'myNewTable.xls')

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by