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
0
votes
1 answer

Phases skipped when using PrettyFaces (JSF)

When using PrettyFaces to map a page containing a form, all phases after Restore View are skipped and the response is rendered. Thus the form is not submitted and the model is not updated.
Panayiotis Karabassis
  • 2,278
  • 3
  • 25
  • 40
0
votes
1 answer

How do you shift phase of audio unit output 180 degrees

I am trying to take audio from the mic in and apply a 180 phase shift to that input stream and output it. Here is the code I'm using to init the session and capture the audio (sample rate is set to 44.1 KHz) OSStatus status = noErr; status =…
patrickjquinn
  • 288
  • 1
  • 15
0
votes
1 answer

Moving a ball on screen - cororna

I made two invisible rectangles on the screen. one on the left side and one on the right side. I have a ball in the middle and I want it to move left or right when I touch them. It works. The problem: I want that if I press one of them and after…
idan ahal
  • 707
  • 8
  • 21
0
votes
1 answer

Source of crackle in phase modulation synthesis

I'm trying to make a simple phase modulation synthesizer based on wavetables and DDS. I have a 12bit wavetable containing 4096 sample of a sine wave and I'm using a 32bit phase accumulator. Implementing my idea works but it seems to have a lot of…
Pyrohaz
  • 232
  • 2
  • 11
0
votes
1 answer

How to find locations of frequencies present in an image using phase spectrum -MATLAB?

I am beginner in Image processing. I want to plot of phase spectrum using MATLAB of any image say Lena or cameraman . I am adding code what i tried but I don't understand anything about the plot. how to find locations of frequencies present in an…
devraj
  • 171
  • 1
  • 1
  • 6
0
votes
1 answer

Getting difficulty in tracking of a single vehicle from the video using Matlab?

I am working on a project in image processing which is based on importance of phase only reconstruction. For more information you can read the answer given by geometrikal in…
sagar
  • 201
  • 1
  • 8
0
votes
1 answer

Matlab: finding phase difference using cpsd

From my understanding, when using the cpsd function as such: [Pxy,f] = cpsd(x,y,window,Ns,NFFT,Fs); matlab chops the time series data into smaller windows with size specified by you. And the windows are shifted by Ns data point. The final [Pxy,…
Chao Li
  • 175
  • 10
0
votes
1 answer

Which Apache CXF interceptor phase is for schema validation?

I have an interceptor, for inbound responses to my client, that runs in the pre-logical phase of an apache cxf 2.7 jax-ws app. That interceptor logs the soap envelope body to a file as a string; no marshalling involved. When the request and…
bwfrieds
  • 341
  • 3
  • 20
0
votes
1 answer

SUMO: pass only TLS phases

I am using SUMO and for testing purposes I want to pass TLS phases. When declaring my TLS in an additional file, I am required to also pass the duration of the phase, but I want SUMO to fill that in. Is there any way of doing this?
Cassie
  • 362
  • 4
  • 15
0
votes
1 answer

extract phase difference between two cosine functions from FFT

I want to extract phase difference between two cosine functions from FFT. The cosine functions are: x1(n)=cos(2*pifin) and x2(n)=cos(2*pifi(n-m)). Based on DFT properties we have: DFT(x1(n))= X1(f); DFT(x2(n))= exp( (-j*2*pi*m*fi)/N…
user51780
  • 139
  • 2
  • 5
0
votes
1 answer

why eveyone do if event.phase == "began" then...?

i see allways that people write in the collusion function (example): local onCollision = function(event) if event.phase == "began" then event.object2:removeSelf(); event.object2 = nil; …
idan ahal
  • 707
  • 8
  • 21
0
votes
0 answers

how to determine maven version of dependency used in specific phase

how to determine which version of a jar I'm using during a specific phase? is there a command in maven to check which version is being used of a specific JAR in a specific phase ? for example: I was recently having an issue with …
guilhebl
  • 8,330
  • 10
  • 47
  • 66
0
votes
0 answers

Is Matlab 'phase command' unwrapped?

When I lookfor phase the result is phase Computes the phase of a complex vector PHI=phase(G) G is a complex-valued row vector and PHI is returned as its phase (in radians), with an effort made to keep it continuous over the pi-borders. This…
hckr
  • 5,456
  • 1
  • 20
  • 31
0
votes
1 answer

How can I correctly plot phase spectrum of fourier series with matlab?

I've made a rectangular pulse x, with fundamental period 2seconds, to fourier transform t=-2:0.01:2; dt=t(2)-t(1); %increment of time fs=1/dt % sampling rate n=length(t) %number of samples X=fftshift(fft(x,n))/n %fourier transform of…
CSjune
  • 23
  • 2
  • 8
0
votes
3 answers

Change phase of a signal in frequency domain (MatLab)

I posted this question on dsp.stackexchange, and was informed that it was more relevant for stackoverflow as it is primarily a programming question: I am attempting to write a code which allows me to change the phase of a signal in the frequency…
Kristian
  • 1,239
  • 12
  • 31
  • 44