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
    5 Ansichten (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
    Kevin Junior
 am 8 Okt. 2013
  
    
    
    
    
    Beantwortet: Walter Roberson
      
      
 am 8 Okt. 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 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
				Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!