Why is there no Integrator with data type single ?

8 visualizaciones (últimos 30 días)
Christian Luciano Maendle
Christian Luciano Maendle el 14 de Nov. de 2023
Editada: Christian Luciano Maendle el 15 de Nov. de 2023
My Simulink system is supposed to run with only single datatype. But I have not found an integrator with single data type, also there is not an option to construct one by myself, because the Transfer function block outputs as well only double.
Is casting to double before the integrator and back to single after the integrator the only solution ?

Respuestas (1)

Paul
Paul el 15 de Nov. de 2023
How about using a Discrete Time Integrator?
  2 comentarios
Christian Luciano Maendle
Christian Luciano Maendle el 15 de Nov. de 2023
Editada: Christian Luciano Maendle el 15 de Nov. de 2023
Thank you for your suggestion. But is there anything for continuous signals ?
Paul
Paul el 15 de Nov. de 2023
Not that I'm aware of, but I'm not much of a user of different precision data types.
If you don't mind me asking, what kind of continuous-time signal do you want to represent represent with single precision?

Iniciar sesión para comentar.

Categorías

Más información sobre General Applications en Help Center y File Exchange.

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by