Problem 42590. Divide elements by sum of elements
In this problem, I ask you to write a function which will divide the elements of each column by the sum of the elements of the same column.
Results should have 2 significant digits.
You cannot use for/while loops.
Solution Stats
Problem Comments
- 
		3 Comments
 
		Jihye Sofia Seo
    	on 11 Feb 2017
	
	
  	Very nice exercise!
		Justin Palaka
    	on 26 Jun 2018
	
	
  	Good use of unfamiliar MATLAB functions!
		ME
    	on 9 Oct 2019
	
	
  	Slight error in the problem definition. The solutions require two decimal places not two significant figures!
Solution Comments
Show commentsProblem Recent Solvers137
Suggested Problems
- 
         
Program an exclusive OR operation with logical operators
735 Solvers
 - 
         
Numbers with prime factors 2, 3 and 5.
586 Solvers
 - 
         
         
732 Solvers
 - 
         
         
660 Solvers
 - 
         
Pernicious Anniversary Problem
828 Solvers
 
More from this Author92
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!