help please why ??
显示 更早的评论
A = [ 1 3 2 6 ; 5 7 7 0 ; -2 6 -2 1 ] ;
j = sum(A(1))
j= 1 why ???
采纳的回答
更多回答(1 个)
elham kreem
2018-2-28
1 个投票
WHAT are you want? IF YOU want to sum all the values then use Sum (A) BUt you sum the first element only. IF you help this answer then except to it.
类别
在 帮助中心 和 File Exchange 中查找有关 Multidimensional Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!