Removing the integral part of number from a matrix

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...

 採用された回答

その他の回答 (1 件)

Azzi Abdelmalek
Azzi Abdelmalek 2014 年 4 月 25 日

0 投票

A=[9.875 1.234 0.987 2.341]
rem(A,1)

カテゴリ

ヘルプ センター および File ExchangeLinearization についてさらに検索

タグ

タグが未入力です。

質問済み:

2014 年 4 月 25 日

回答済み:

2014 年 4 月 25 日

Community Treasure Hunt

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

Start Hunting!

Translated by