Simulinc. How to change variable parameter of the block in loop.

3 visualizzazioni (ultimi 30 giorni)
Hello,
I have a basic simulink model which consists of phase detector. I use two identical sine waves as a source.
The only difference between them is phase. I would like to automatically change the phase of one of the sine waves in a loop from -180 to 180.
I tried using for loop, but it outputs only the last result into the simulink.
Basically what I want is to create a parametric graph y = measured_phase(sine_phase).
Please help.
Sorry for any mistakes. English is not my native language.

Risposte (0)

Categorie

Scopri di più su Modeling in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by