why simulink has noise while ode45 dose not?
조회 수: 3 (최근 30일)
이전 댓글 표시
Hi friends
I have developed a code based on ode45 and a similar simulink. the similink scope shows some noise in the results while ode45 does not. why is there this difference and how can I eleminate the noise from the scope in simulink?
I have attached the figures
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/298763/image.jpeg)
댓글 수: 0
채택된 답변
rubindan
2020년 5월 23일
Without code or Simulink model it is hard to tell what is exacly the reason. In case that the noise is numeric and should not be there, you probably need to change the solver settings in Simulink (Simhlintaion-->Model Cofigureation Parameters->Solver). Try, for e.g., reducing the tolerance.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 General Applications에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!