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.
function Iout = imtranslate(I, translation, F, method, same_size)
%Affine translates a 2D or 3D image
% -I = 2D or 3D image
% -translation =
% -[row_shift col_shift] for 2D...
Unlike all other posted DTMF programs, my application is specifically designed to simulate the working of a real DSP processor especially for beginners.
That would mean that digital oscillator was used to create sine and cosine...
This code evaluates the root of transcendental equation with the help of Newton Raphson method with enhanced features like vanishing of differential of a function, Infinite cycling for root due to a poor initial approximation or when a root exists...
Writes to file a sorted list of MATLAB functions for all MathWorks products installed on the machine (that the function is executed on). Denotes which functions are built-in to help with syntax highlighting.
Function HEDGEDEMO aims to help students and instructors of finance visualize trading demands of simple static or dynamic value-hedging strategies. In a single-factor setting, 2-asset hedge portfolios are constructed to match, at a point in time,...
This script takes the input function adn solve it with the help of newton-Raphson
This code is to help beginners to understand how reading multiple variables into a function and storing them within a loop without using 'eval' function. This is more of a tutorial code than a specific one.
Simple function that plays a 3-D matrix as a movie to help visualize the values of the matrix. Much like movie but can be used to directly on raw data instead of converting it to movie frames. Main advantage is fast visualization of 3-D data.
LastUpdatedTrick Function is a date and time displaying program based on php. With the help of LastUpdatedTrick Function, users can see last updated date. Users can generate output date format as Y-m-d, M-d-Y and D, Y-m-d. It can be integrated...
The various uses of SPLIT() function in VBScript is clearly learnt with the help of this ASP article that shows an example program for an easier understanding. From this article, you will come to know how to split text sentence and can store them...
The documentation in the function explains the algorithm but there are additional pages which provide additional visual help:
the function find out the gcd(a,b) as a linear conbination of a anb b,
ax+by=gcd(a,b). Please help me if you can.
This piece of code takes in two infinite sequences, and, with the help of a cute math function, can cross these two together into another infinite sequence. (This is related to the diagonalization proof that the rationals are countable.) It...
Some of your code won't work: you invoke function 'countmodel', but don't provide it. ('countmodel.m' contains function 'probmodel'). More unpleasant is absence of any 'help' in your files; it's lazy and disrespectful.
This function is thought to help in the indexing of circular buffers, and obviously is senseful used inside a loop (more details in the help inside the file).
This file calculates iir canonic coefficients for a dspic (30F6014) for a given filter transfer function. It is a Pre Release and may not work correctly, but I hope you may help in debugging.
This function convolves two very large vectors very quickly. Enormous gains in speed are due to the use of two fft's and an ifft. To find out how to use this program, put it in you 'work' folder and type "help fconv".
Complete description of this function is provided in a PDF file. Two examples will help you to use this function for either base excitation load (earthquake) or time-variant forces on DOFs.
There is a new feature in this function which will...
A standard atmosphere function based on the 1976 Standard Atmosphere returns density, speed of sound, temperature, pressure, and viscosity for a given altitude input up to 86km.
This function is designed to be useful for those designing...
These functions read the comments from the m-function (or script) marks them up. It is based on Matlab's publish function.
It is also possible to inculde examples and simple LaTeX formulas within the help text.
To create the...