Why my sine wave block in matlab simulink is not giving desired result??
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
When I am trying to get an output from sine wave with amplitude 220v and frequency 2*pi*50, the scope is showing undesirable signal. Is this something related to setting or I am missing a point?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/157820/image.jpeg)
1 commentaire
Mostafa
le 9 Nov 2016
Try using a fixed-step solver.
Open model Configuration Parameters (Ctrl+e)
solver options -> Type: "Fixed-step" instead of "Variable-step"
Additional options -> Fixed-step size: 1e-3
Simulate and check results.
Réponses (0)
Voir également
Catégories
En savoir plus sur Prepare Model Inputs and Outputs dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!