Importing data sheet from excel sheet to matlab
2 次查看(过去 30 天)
显示 更早的评论
回答(1 个)
Amit Nambiar
2013-10-2
编辑:Amit Nambiar
2013-10-2
to find value of d array your arrays a and b must have the same no. of elements...I have modified that and printed the table that contains a b and d... If you want some more information...reply to this answer... happy to help always... :P clc a = 1:3:20;
a=a';
b = 1:2:14;
b=b';
d=((a-b)./a).*100;
table=horzcat(a,b,d);
display(table);
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!