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

1 visualización (últimos 30 días)
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 comentario
Mohsin Munir
Mohsin Munir el 25 de Ag. de 2021

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

Iniciar sesión para comentar.

Respuesta aceptada

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

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by