Why does my discrete transfer function block cause a Simulink "domain error"?
이전 댓글 표시
I have a model with a continuous transfer function block. Since I want to generate code from this model, I have changed this continuous transfer function block to a discrete transfer function block that uses the same coefficients as my continuous transfer function block. Now, even if I just simulate the model, I get this error saying "to compute complex results from real x, use 'sqrt(complex(x))'.

How can I avoid this error when using a discrete transfer function?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Additional Math and Discrete에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!