Problem 42590. Divide elements by sum of elements
Solution Stats
Problem Comments
-
3 Comments
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!
Solution Comments
-
3 Comments
It seems that we can't use the ans trick. It's new no ?
wow, yes, it seems the last valid solution with ans trick was just a few hours ago, wonder if this is a temporary glitch or a "permanent" fix?
Yes, release 2015b is the cause of that. I can observe the same think with my update.
Problem Recent Solvers117
Suggested Problems
-
Replace NaNs with the number that appears to its left in the row.
2605 Solvers
-
917 Solvers
-
middleAsColumn: Return all but first and last element as a column vector
564 Solvers
-
Sum of odd numbers in a matrix
446 Solvers
-
715 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!