Effacer les filtres
Effacer les filtres

Add two excel data togather

1 vue (au cours des 30 derniers jours)
Exton
Exton le 30 Août 2012
now i had two excel data inside my matlab and i would like to ask how to add on the two data together and square it???? my excel data name count and counts... need some coding guard line to help to done my FYP
  2 commentaires
Matt Tearle
Matt Tearle le 30 Août 2012
Can you please show a simple example of what the data looks like and what result you'd like.
Exton
Exton le 30 Août 2012
there are 2 excel file with all my value (only in 1 column ) i want to add those value and square it https://skydrive.live.com/redir?resid=CD8F469E9EEF29A1!278

Connectez-vous pour commenter.

Réponse acceptée

Matt Tearle
Matt Tearle le 4 Sep 2012
Modifié(e) : Matt Tearle le 4 Sep 2012
count = xlsread('file1.xls');
counts = xlsread('file2.xls');
squaredsum = (count + counts).^2;
(although from your screen capture, there don't seem to be any Excel files.)
  1 commentaire
Exton
Exton le 6 Sep 2012
get it thx

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by