conversion of double to int
Mostra commenti meno recenti
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 Commenti
Walter Roberson
il 21 Lug 2017
Could you give some examples of the values and what you are observing ?
SNEHA P S
il 21 Lug 2017
Modificato: Walter Roberson
il 21 Lug 2017
Adam
il 21 Lug 2017
And what is the problem? That seems like the right answer to me.
SNEHA P S
il 21 Lug 2017
Walter Roberson
il 21 Lug 2017
Give the command
format long g
And then display the Q value again
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Logical in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!