Filter löschen
Filter löschen

Add two excel data togather

1 Ansicht (letzte 30 Tage)
Exton
Exton am 30 Aug. 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 Kommentare
Matt Tearle
Matt Tearle am 30 Aug. 2012
Can you please show a simple example of what the data looks like and what result you'd like.
Exton
Exton am 30 Aug. 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

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Matt Tearle
Matt Tearle am 4 Sep. 2012
Bearbeitet: Matt Tearle am 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.)

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by