This function makes it easy to translate a 2d image or 3d volume. The shifts do not need to be integer values. It was written so I could test image registration algorithms.
Help: function Iout = imtranslate(I, translation, F, method, same_size) %SCd 12/21/2009 %Affine translates a 2D or 3D image % %Input Arguments: % -I = 2D or 3D image % -translation = % -[row_shift col_shift] for 2D...
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...
This script simulates the Binary Phase Shift keying. Since BPSK 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 for...
Clusters data using the Mean Shift Algorithm. testMeanShift shows an example in 2-D. Set plotFlag to true to visualize iterations.
Given a message encoded with a shift/rotation cipher, such as rot13, this recipe recovers the most probable plain text for the message. It does this by using statistics of bigram (2-character sequence) counts from a sample of text.
One liner code to shift each char of a string by some passed value very simple encryption :) added version 2 fixing following bugs: 1. Capital chars are shifted correctly. 2. Only alpha numeric chars are shifted. 3. No...
The Code describes the way to modulate or demodulate a signal shift in its phase.
The MATLAB program simulates binary frequency shift keying (BFSK) at baseband through Monte Carlo method. The goal is to simulate bit error rate (BER) over an additive white Gaussian noise (AWGN) channel. For realizing that, the effect of noise is...
The MATLAB program simulates binary phase shift keying (BPSK) at baseband through Monte Carlo method. The goal is to simulate bit error rate (BER) over an additive white Gaussian noise (AWGN) channel. For realizing that, the effect of noise is...
This transformation is non-redundant, approximately shift-invariant and produces oriented filters in 2D and 3D. There is a m-file called 'example.m' which shows how one can use this package. For more information see the following paper:
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...
Linear feedback shift registers (LFSR) are a simple method of generating sequences, including pseudorandom number sequences. The LFSR code provided is very unrestricted, allowing for any feedback polynomial, initial state or decimation factor. The...
rgb(col) returns a Matlab RGB colour triplet [R G B] converted from 'col'.
'col' can be: an [R G B] triplet (unchanged) a colour name, e.g. 'pale orange' a matlab colour char (k,r,...) a QBASIC colour code...
Bidimensional surface shift to a position specified by a vector [x,y].
This example shows how to find the displacement and supply it as a shift in a custom equation.
This function permit to shift a line interactively. Permit to keep the result on graph and to restrict shifting in x or y direction. Amount of shitfting is displayed in workspace.
A framework for simulation of networks of hybrid automata, similar to SHIFT and Lambda-SHIFT. Includes ruby-based DSL for defining simulation components, and ruby/C code generation and runtime.
SHIFT (State-HIerarchy Functional Testing) provides a new way to test your web apps. It extends other web testing frameworks to allow significantly better testing with less effort, and opens up new ways to test which have never been possible before.
This program creates and manages a shift based scheduling system for multiple departments. Includes template based customization and multiple shift types. |