Removing the integral part of number from a matrix
Show older comments
i have a matrix: A=[9.875 1.234 0.987 2.341] How can i remove integral part of the matrix. After removing the integral part output is
A=[ 0.875 0.234 0.987 0.341]
Please help...
Accepted Answer
More Answers (1)
Azzi Abdelmalek
on 25 Apr 2014
A=[9.875 1.234 0.987 2.341]
rem(A,1)
Categories
Find more on Dynamic System Models in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!