why simulink has noise while ode45 dose not?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
hossein
el 23 de Mayo de 2020
Comentada: hossein
el 24 de Mayo de 2020
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 comentarios
Respuesta aceptada
rubindan
el 23 de Mayo de 2020
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.
Más respuestas (0)
Ver también
Categorías
Más información sobre General Applications en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!