
1D Fourier shift 1.0 File ID: 78321 


 1D Fourier shift 1.0 License: Freeware File Size: 10.0 KB Downloads: 3
Submit Rating: 



1D Fourier shift 1.0 Description 

Description: This code uses the Fourier shift theorem to cyclically shift 1D signals by an arbitrary amount. Both integer and noninteger shifts work.
It also supports padding the signal with zeros so that the shift appears noncyclic (although it really isn't). If this is done then the shift amount is clamped so that the signal can't cycle round again.
It works with signals of any length and is completely vectorised.
Usage:
y = FourierShift(x, delta, zero_pad)
x = input vector (column or row) y = output column vector delta = shift amount in samples zero_pad (optional) = if set to 'pad' then it simulates noncyclic shifting
Example:
for ii = 50:0.4:50 plot(FourierShift(sinc(2:0.1:2), ii, 'pad')) pause(0.1); end
License: Freeware Related: fouriershiftx, Delta, padx, Input, vectorisedusagey, completely, Round, againit, Works, Length, Vector, Column, simulates, shiftingexamplefor, plotfouriershiftsinc, pad pause end, Pad, optional, output, vectordelta O/S:BSD, Linux, Solaris, Mac OS X File Size: 10.0 KB Downloads: 3


More Similar Code 

This shifts cyclically shifts an image or other 2D matrix by an arbitrary number of pixels (which can be fractional). I haven't tested it much but the code is very short so it should be easy enough to adapt.
Usage:
y = FourierShift(x, [delta_x delta_y])
x is the input matrix. y is the output. delta_x and _y are the shift amounts in each dimension.
It takes about 1s to run for a 1024x1024 image on my...
Cut 1D X is a powerful automation component used for obtaining optimal cutting layouts for one dimensional pieces that may have angles different of 90 degrees at their extremities. Cut 1D X can be used for cutting linear pieces such as bars,...
This script simulates the Binary Amplitude Shift keying. Since BASK is a digital modulation scheme, you can modulate as many bits as you want. however, I have only simulated it for 5 bits, so that the results are visible.
This is code...
This script simulates the Binary Frequency Shift keying. Since BFSK is a digital modulation scheme, you can modulate as many bits as you want. however, I have only simulated it for few bits, so that the results are visible.
This is code...
Finding the Fourier transform of a rectangular pulse.. filtering the spectrum and regenerating the signal using the filtered spectrum is done... at the end Rayleigh theorem is proved by showing that the energy content of both time...
According to shannon theory it is possible to reconstruct a band limited signal from its Fourier components provided it is sampled sufficiently...just to demonstrate this, posting a small example based on that
These are two Mfiles ddeDUfourier1ddeDt and ddeDUfourier2ddeDt The first is designed to demonstrate how triangular, rectangular, saw tooth, half wave and full wave rectified signals can be built from superposition of a predefined no of...
The Fourier Calculator (Simulink model) can be used for arbitrary signals. In this case the Wolfer sun spot data are analyzed
With this Fourier Calculator a periodic signal can be analyzed and represented in figures with harmonics. The signals can easily be produced in the model.
This program is open source code of fast Fourier transform in matlab. Where y is the input argument and p is the normalized size of the input. Let y = [1 2 3 4 ]; x= length(y); m= log2(x); p= ceil(m); To call the... 
User Review for 1D Fourier shift 
