I am trying to implement this function so that it returns the sum of all the values in the m-by-n matrix A without using the buit in function sum
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Kevin Junior
le 8 Oct 2013
Réponse apportée : Walter Roberson
le 8 Oct 2013
function s = totalsum(A)
%A is an m-by-n matrix
%s is the sum of all the values in A
I dont know where to start.
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Multidimensional Arrays dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!