Phase error between two signals ?

2 views (last 30 days)
El Mehdi FADEL
El Mehdi FADEL on 30 Mar 2018
Answered: Samar on 31 Jan 2025
Hello, i have two inputs
V1=A1sin(wt)
and
V2=A2cos(wt+theta)
knowing that A1 is diffrent to A2 ... i want to find Theta how can i do that in simulink ? thanks in advance
  4 Comments
Birdman
Birdman on 30 Mar 2018
What have you done so far? I still don't understand what you want.
El Mehdi FADEL
El Mehdi FADEL on 30 Mar 2018
i want to calculate this theta on simulink ... that's what i want to do ?

Sign in to comment.

Answers (1)

Samar
Samar on 31 Jan 2025
For calculating phase difference, you can use Fourier block to get amplitude and phase angle of each signal, and by subtracting the phase angles you will get the phase difference between your signals.
You can refer the documentation for more information. To refer the documentation, follow the listed steps:
  1. Right click on the target block.
  2. Click on the last option Help.
This question seems like the question given below in the link. The answers to the question given in the link below can be referred for more information.
Feel free to ask questions if any.

Community Treasure Hunt

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

Start Hunting!