performing matrix subtraction between two excel file
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello
I have two separate excel files,each containing 125 x 125 array, I would like to do matrix substraction between the first colum of excel file 1 to the first colum of excel file 2 and do this for every column. How to do this ? Any suggestiions
data1=readtable('filename1.csv');
data2=readtable('filename2.csv');
1 commentaire
dpb
le 5 Mar 2021
What's wrong with
delta=data2.Var1-data1.Var1;
?
If it is just an array in the two files, a table is probably overkill and you'd be better served to use readmatrix instead.
But, we don't know anything more about the file content -- is there a header line, for example?
Réponses (0)
Voir également
Catégories
En savoir plus sur Spreadsheets dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!