help please why ??
Show older comments
A = [ 1 3 2 6 ; 5 7 7 0 ; -2 6 -2 1 ] ;
j = sum(A(1))
j= 1 why ???
Accepted Answer
More Answers (1)
elham kreem
on 28 Feb 2018
1 vote
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.
1 Comment
ahmad qadan
on 28 Feb 2018
Categories
Find more on Multidimensional Arrays in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!