Questions tagged [phase]

phase is angular shift between periodic signals.

phase is angular shift between periodic signals

  • for example signal x1(t)=cos(t) is the same as x2(t)=sin(t+PI/2)
  • angle PI/2 is the phase (angular shift) between sin(t) and cos(t)
  • phase is also used as angular coordinate for polar representations of phasor commonly used in electrical engineering
  • phase distortions of signals are called jitter
238 questions
2
votes
2 answers

When Maven executes phase or goal or lifecycle?

When I was reading about Maven goals, phases on Stack Overflow, I came across two links in which one says: when you execute maven you can specify a goal or a phase. – What is the difference/relation between maven goals and phases? and the other…
s4194313
  • 39
  • 6
2
votes
2 answers

How to Ouput different wave signals through external PC speakers with C++?

For my school project I would like to know if anyone can help me in finding a way of outputting sound in real time through the speakers of my PC. This has to be donevia my sound Card while at the same time playing with parameters of the signal…
2
votes
2 answers

Plotting phase and magnitude image Fourier

How can I plot phase and magnitude of Fourier transform of a 2D image in MATLAB? I am using angle and abs and then use imshow, but I get a black image. what is the use of fftshift in this plotting?
amanda
  • 33
  • 1
  • 7
2
votes
0 answers

How to calculate accurate Phase using FFT?

I have to calculate phase difference between two signals. I'm not very strong mathematically but I understand and interested in implementing F.F.T. algorithm on my electronic signals for calculating exact phase difference between them. I read lots…
rahulb
  • 185
  • 1
  • 9
2
votes
5 answers

Phase difference between two signals?

I'm working on this embedded project where I have to resonate the transducer by calculating the phase difference between its Voltage and Current waveform and making it zero by changing its frequency. Where I(current) & V(Voltage) are the same…
rahulb
  • 185
  • 1
  • 9
2
votes
2 answers

how to redefine atan2 function from -inf to inf in matlab?

I have a rotating vector R(x(t), y(t)) and I want to find an angle as a function of time. The atan2 is determined between -pi and pi, however it is inconvenient for me to analyse all dynamics. So, is there any way to expand atan2 from -inf to inf?
anatoly
  • 327
  • 2
  • 13
2
votes
1 answer

translation/rotation through phase correlation in python

I have two pictures, one that was the original and another one that I have modified so that it's translated up and left a bit and then rotated 90 degrees (so the shape of the picture is transposed as well). Now I'd like to determine how many pixels…
Babyburger
  • 1,730
  • 3
  • 19
  • 32
2
votes
0 answers

Java JAI phase correlation

My main field of interest is biomedical image processing. I have set of biomedical images and I need find phase between them. For computing phase between images, I am using phase correlation, but I am not sure of way how I am doing it. I am using…
2
votes
1 answer

How to "zero-phase-adjust" DFT output?

I understand the complex output of a DFT contains both "amplitude" and "phase" information at discrete frequencies. Amplitude[n] = sqrt((r[n]*r[n]) + (i[n]*i[n])) Phase[n] = (atan2(i[n],r[n])) Frequency[n] = n * (sample_rate / (fft_input_length /…
2
votes
0 answers

quartz jobs in a cluster running on wrong node

uI have an application that is clustered in a 2+2 setup where 2 machines are used in alpha product phase, and the other two are used for real customers. all machines are looking at the same database, I need a job to run at midnight for each of the…
OmarG
  • 21
  • 2
1
vote
2 answers

Difficulty understanding the phase calculated by the FFT. Short matlab demo to illustrate

I'm testing the phase output of an fft of a sin signal and a cos signal. The script below creates the signals and performs an FFT on them. Bins who's amplitude is below a threshold are zeroed for the phase spectrum because I am only interested in…
Daniel
  • 546
  • 1
  • 6
  • 15
1
vote
0 answers

Continuous sine wave despite the abrupt changes in frequency

I have a working VBA code that generates a sine wave given the constant amplitude and RPM. The problem is that the RPM changes abruptly n times within the whole dataset, whereas in between it is constant. This abrupt change interrupts the continuity…
Fevzi
  • 15
  • 4
1
vote
0 answers

Shift phase between two sinusoids in Python

How to find Shift phase between two sinusoids in Python. For example, I created two sinusoid with phase shift 180 radian (Visually). Can we calculate the phase shift in python script if we know only graph_1 and graph_2? import matplotlib.pyplot as…
dfsdf
  • 37
  • 9
1
vote
2 answers

How can I create a phase-shifted pwm signal ? The frequency and duty (%50)are fixed STM32F407

I want four pwm signals and same duty cycle (%50) and same frequency (100kHz) . And ı want this signals phase shift (for ex:45 degrees)
Bjorn
  • 11
  • 3
1
vote
0 answers

How to get rid of clicking in my phase accumulator when I change the pitch?

I'm currently trying to make my own FM synthesizer, but instead of modulating sine waves, I modulate wavetables, or, one cycle waveforms. I did the phase accumulator, but the problem is when I do a pitch change, like a vibrato for exemple, I have…