Phase error between two signals ?
Show older comments
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
on 30 Mar 2018
What do you mean by finding theta? Do you try to solve an equation?
El Mehdi FADEL
on 30 Mar 2018
Birdman
on 30 Mar 2018
What have you done so far? I still don't understand what you want.
El Mehdi FADEL
on 30 Mar 2018
Answers (1)
Samar
on 31 Jan 2025
0 votes
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:
- Right click on the target block.
- 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.
Categories
Find more on Signal Generation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!