Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
Rapid PHP 2018 15.5
IBDAC 6.4
Online Course Booking Script 1.3.3
Database Workbench Pro 5.6.4
Job Portal Script 1.3.2
The C# PDF Library 5.2
PostgreSQL Data Access Components 6.0
Virtual Data Access Components 11.0
HTMLPad 2018 15.5
WeBuilder 2018 15.5
SentiMask SDK Trial 2.0.0
Track Order For Magento 2 1.0.0
Calendar 365 For Dynamics CRM 4.0
Scimbo 1.2
Odoo Furnito Theme 1.0
Top Code
MCU 8051 IDE 1.4.7
Cuckoo Search (CS) Algorithm 1.0
MLM Software ONE 1.5.46
Wslay WebSocket Library 0.1.1
Recurring Payments Extension by Apptha 1.0
MATLAB Support Package for Arduino (aka ArduinoIO Package) 1.0
qwtpolar 1.0.1
iScripts PrintLogic 2.0
Hotel Management CRM 1.0
TIC TAC TOE AI GAME Script 1.1
Eclipse Java Project Creation Customizer 0.0.3
VideoWhisper 2 Way Video Chat 1.55
WinPoker 2.02
E-Cards with PHP & MySQL
Altavista Search Engine In Your Links Bar 1.II
Top Rated
VisualNEO Web 2018.12.15
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
1D Fourier shift 1.0
File ID: 78321






1D Fourier shift 1.0
Download 1D Fourier shift 1.0http://rubyforge.orgReport Error Link
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 non-integer shifts work.

It also supports padding the signal with zeros so that the shift appears non-cyclic (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 non-cyclic 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 M-files d-deDUfourier1d-deDt and d-deDUfourier2d-deDt 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
- required fields
     

Please enter text on the image