Afficher commentaires plus anciens
行列の値の小数点以下の値だけを取り出したいです。最初は、8bitに変換して行列の引き算をすれば良いと考たのですが、そうすると四捨五入が起きてしまい実際の小数点以下の値だけを取り出すことが出来ないと気が付きました。
このため、四捨五入をせずに小数点以下を丸める方法がありましたらご教授願いたいです。
また行列の引き算出なくても、小数点以下の値だけを取り出せる方法がありましたら、ご教授お願いいたします。
ex)8.4779という値の小数点以下 0.4779という値だけ取り出したい
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Logical dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!