Problem 44650. determine the sum of fraction part for given matrix

Solution 3027424

Submitted on 2 Oct 2020 by Benjamin
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
x = [1.83082862789629 8.91719366382981 6.75372909427850 1.58526409115272 10.2858390188204 5.38044584697536 6.54972360829114 2.75720022911072 1.56782164072522]; y_correct = 5.6280; assert(isequal(SumOfFraction(x),y_correct))

Suggested Problems

More from this Author2

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!