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 Solvers145
Suggested Problems
-
Swap the first and last columns
23184 Solvers
-
Omit columns averages from a matrix
620 Solvers
-
Back to basics 22 - Rotate a matrix
939 Solvers
-
Find the maximum number of decimal places in a set of numbers
3604 Solvers
-
Natural numbers in string form
1967 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!