Why is there no Integrator with data type single ?

조회 수: 6 (최근 30일)
Christian Luciano Maendle
Christian Luciano Maendle 2023년 11월 14일
편집: Christian Luciano Maendle 2023년 11월 15일
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 ?

답변 (1개)

Paul
Paul 2023년 11월 15일
How about using a Discrete Time Integrator?
  댓글 수: 2
Christian Luciano Maendle
Christian Luciano Maendle 2023년 11월 15일
편집: Christian Luciano Maendle 2023년 11월 15일
Thank you for your suggestion. But is there anything for continuous signals ?
Paul
Paul 2023년 11월 15일
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?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 General Applications에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by