Problem 44650. determine the sum of decimal part for given matrix
Solution Stats
Problem Comments
-
4 Comments
Hello, jamal hasoon. I completely agree with the preceding comment. Furthermore, it is very strongly recommended to write your own general solution code, to ensure compatibility of the inputs and the target solution in the Test Suite. —DIV
Alternatively, if you intend that users should round their results, then please include that instruction explicitly in the Problem Statement.
Another point: please do not include so much sample code in the Solution Template that is seen by everybody.
Lastly, it would be clearer to refer to the "decimal part" (or "fractional part"), rather than "fraction part".
See Problem 44521 for more ideas. —DIV
Problem statement and test cases have been modified.
Solution Comments
Show commentsProblem Recent Solvers40
Suggested Problems
-
Back to basics 4 - Search Path
372 Solvers
-
Back to basics 12 - Input Arguments
608 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
841 Solvers
-
Add a row of zeros on top of a matrix
254 Solvers
-
Find my daddy long leg (No 's')
2554 Solvers
More from this Author2
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!