Add two excel data togather
2 次查看(过去 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
2012-8-30
Can you please show a simple example of what the data looks like and what result you'd like.
采纳的回答
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 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!