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
Solution Comments
Show comments
Loading...
Problem Recent Solvers138
Suggested Problems
-
How to find the position of an element in a vector without using the find function
2812 Solvers
-
Return the first and last characters of a character array
11795 Solvers
-
603 Solvers
-
Remove entire row and column in the matrix containing the input values
551 Solvers
-
445 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!
Very nice exercise!
Good use of unfamiliar MATLAB functions!
Slight error in the problem definition. The solutions require two decimal places not two significant figures!