How to make something only on a part of a signal (let say negative part) in Simulink?

Two sine waves (one shifted for 90 degrees) pass into an atan2 block which gives me a signal which goes from -pi to +pi. I would like to add 2pi only on the negative part. Which block should I use after atan2 block?
Thanks

Plus de réponses (0)

Produits

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by