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

Matlab FFT vs fvtool phase response

I have recently been using fft() to find the frequency response of my data, and compared it to fvtool. I have found that while the magnitude looks the same, the phase looks entirely different. I was wondering how the fvtool creates the phase…
user8481
  • 1
  • 1
0
votes
1 answer

Matlab - effect of different sampling rates on FFT phase spectrum

I am new to Matlab and still getting to grips with FFT. I am currently working on a project where I have two cosine signals, both having a frequency of 100 Hz, but the second signal is delayed by a certain time - say 0.0030 seconds. Knowing the…
Varun
  • 1
0
votes
1 answer

Phase vocoder - synthesis window needed?

I've been struggling for a few weeks on a phase vocoder. The ultimate goal is achieving time stretching of a signal. I've been making a lot of progress, but I still have two issues to solve. Issue1: Do I need a synthesis window?. I take overlapping…
Merlevede
  • 8,140
  • 1
  • 24
  • 39
0
votes
1 answer

Bin wise phase difference using FFT - 2pi shifts even after using phase unwrapping

I have looked at similar questions on StackOverflow and none seem to address this specifically. I am trying to find the bin wise phase difference between two signals. To validate if this result is usable the I have introduced a single sample delay…
neeraj baji
  • 211
  • 2
  • 12
0
votes
1 answer

Python IndexError: list assignment index out of range just trying to make a phase space

import matplotlib.pyplot as plt import numpy as np import scipy as sc import math t,theta1=np.loadtxt('Single Small Angle 1.txt',unpack=True,skiprows=2) t2,theta2=np.loadtxt('Single Small Angle…
user3291404
  • 781
  • 1
  • 5
  • 5
0
votes
0 answers

Phase Angle between two signals

I'm working on a project where I calculate the phase angle between two signals. But to keep the math/code simple I'm using simple sine/cosine function to generate the signal. My method is as follows - Generate Sine/Cosine signals Select a sample…
sidkash14
  • 1
  • 1
  • 2
0
votes
1 answer

phase spectrum of signal wrong generation matlab

I've got 129 samples of some signal. I have to discover what signal it is (what components it has) and try to reconstruct it. so after I have done FFT i wanted to find phase of signal so i try: phs=unwrap(angle(y)); …
Matt
  • 11
  • 6
0
votes
1 answer

To find FM signal's phase in Matlab

I want to find the phase of an FM signal. Matlab code of message signal is m= ones(1,Fs); m= [m(1:round(.4*Fs))*1, m(round(.4*Fs)+1:round(.7*Fs))*-2 ... m(round(.7*Fs)+1:Fs)*0]; How can I find phase of FM signal?
0
votes
0 answers

De-convolving Instrument Response from Signal (MATLAB)

So I am trying to remove instrument response (phase lag) from some magnetics data. The code I am trying to use is below. I can't figure how to reconstruct the file together properly. The approach I am trying now is to subtract the phase lag and…
IKeneally
  • 3
  • 2
0
votes
0 answers

Using fftw c libraries to get amplitude and phase of first 4 harmonics

I have a periodic series of 360 values. How can I use the fftw c libraries to get the amplitude and phase of the first, second, third and fourth harmonic? If I do this for…
Atirag
  • 1,660
  • 7
  • 32
  • 60
0
votes
3 answers

SuperCollider: automatic phase and frequency alignment of oscillators

Anyone has an idea for automatic phase and frequency alignment? To explain: assume, you have an Impulse in = Impulse.ar(Rand(2, 5), Rand(0, 1)); now I'd like to manipulate the frequency of another Impulse such that it adapts its phase and frequency…
Dan Stowell
  • 4,618
  • 2
  • 20
  • 30
0
votes
1 answer

Recovering Phase from FFT

I'm trying to recover the phase of a simple (audio) signal in matlab: In matlab I do the following: % This wave is perfectly periodic in the sample. That is, % there are exactly 1000 periods. swave = sin( 2 * pi * (0:10000) * 441/44100); % Find…
user2109
  • 1
  • 1
  • 1
0
votes
1 answer

JSF - Update model in invoke application phase

in my JSF application i need to update ui component during invoke application phase. Can it be done? Here's the code i've produced so far: public void resetDataScroller(ActionEvent actionEvent) { final FacesContext ctx =…
mgamer
  • 13,580
  • 25
  • 87
  • 145
0
votes
1 answer

Binary Phase Shift Keying in Objective-C or C / C++

I am making an iphone app that will transmit data via sound. It takes a binary string and plays a tone for each 1 and silence for each 0. (String example) NSString* asciiString = @"www.google.com"; NSString* binaryString =…
Guff Guff
  • 13
  • 3
0
votes
1 answer

Axis2 Migration

We had an application using axis2 1.0. We recently migrated to axis2 1.4. After migration we are facing the following error at runtime: public static org.apache.axis2.context.ConfigurationContext…
Barun
  • 503
  • 5
  • 13
  • 22
1 2 3
15
16