Add two excel data togather

1 次查看(过去 30 天)
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 个评论
Matt Tearle
Matt Tearle 2012-8-30
Can you please show a simple example of what the data looks like and what result you'd like.
Exton
Exton 2012-8-30
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

请先登录,再进行评论。

采纳的回答

Matt Tearle
Matt Tearle 2012-9-4
编辑:Matt Tearle 2012-9-4
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.)

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by