How to you put sin function in Simulink
8 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
How do you put this function in simulink .
-2 cos(t/2)+2
0 commentaires
Réponse acceptée
Paul
le 9 Oct 2022
Modifié(e) : Paul
le 9 Oct 2022
Feed the output of a Clock into a Gain of 1/2. Feed the touput of that gain into a Trigonmetric Function block, select the cos option. Feed the output of that into a Gain of -2. Feed the output of that into a Bias block, set the parameter to 2.
Or use the fact that
cos(t/2) == sin(t/2 + pi/2)
Amplitude = -2
Frequency = 1/2
Phase = pi/2
Bias = 2
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Sources dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!