Different values after rounding when using fixed point data types
Mostrar comentarios más antiguos
We found a certain behavior with the evaluation of the constant block.
1) in constant block is a value = 0.235 has data type U16_0_655D35000000000002_0_FFFF_L -Result-> 0.23
2) constant block with Parameter b has data type U16_0_655D35000000000002_0_FFFF_L , reslut = 0.23
b =
Parameter with properties:
Value: 0.2350
DataType: 'auto'
3) constant block with Parameter c has data type U16_0_655D35000000000002_0_FFFF_L , result = 0.24
c =
Parameter with properties:
Value: 0.2350
DataType: 'U16_0_655D35000000000002_0_FFFF_L'
could you please explain me difference between using Parameter and a value in constant block?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Create Fixed-Point Objects in MATLAB en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!