Azzera filtri
Azzera filtri

Add two excel data togather

1 visualizzazione (ultimi 30 giorni)
Exton
Exton il 30 Ago 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 Commenti
Matt Tearle
Matt Tearle il 30 Ago 2012
Can you please show a simple example of what the data looks like and what result you'd like.
Exton
Exton il 30 Ago 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

Accedi per commentare.

Risposta accettata

Matt Tearle
Matt Tearle il 4 Set 2012
Modificato: Matt Tearle il 4 Set 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.)

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by