conversion of double to int
Afficher commentaires plus anciens
i had an array of 1*10 double named Q(i). I want to find modulo function of these 10 values with 256. But am getting wrong answers. May be its the problem of types. Will you please help me to solve?
5 commentaires
Walter Roberson
le 21 Juil 2017
Could you give some examples of the values and what you are observing ?
SNEHA P S
le 21 Juil 2017
Modifié(e) : Walter Roberson
le 21 Juil 2017
Adam
le 21 Juil 2017
And what is the problem? That seems like the right answer to me.
SNEHA P S
le 21 Juil 2017
Walter Roberson
le 21 Juil 2017
Give the command
format long g
And then display the Q value again
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!