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

1 Ansicht (letzte 30 Tage)
Alex Konev
Alex Konev am 25 Aug. 2020
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.

Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by