The program does interpolation or decimation on a given 1-d data in an array. Given X with sampling rate Ft Hz and is used to generate another sequence Y with sampling rate Ft' Hz, then Sampling Rate ratio R is given by,
Ft' R = ---- Ft if R > 1, sampling process is known as interpolation R < 1, sampling process is known as decimation Example Usage: t = 1:1/10:2; X = sin...
audioread provides a single, unified function for reading audio files in a range of different file formats, including wav, mp3, aac, flac, AIFF, etc. In most cases, access is actually provided by external binaries, but this is hidden within...
The model simulates a three phase Sinusoidal PWM rectifier. Applied Voltage, switching frequency and sampling factor can be changed from the model properties block.
An affine (or first-order) optic flow model has 6 parameters, describing image translation, dilation, rotation and shear. The class affine_flow provides methods to estimates these parameters for two frames of an image sequence.
The...
The WAV audio recording applet SDK is designed to create the web audio recorder on the web site. It allows to record the audio in WAV format from the web site and upload audio file to the web server via HTTP.
Also, it is possible to...
PCM encoding and decoding of sinusoidal signal. i.e Sampling, Quantizing and encoding in Polar code
MATLAB Implementation and demo to design of filters in a hybrid FB with fractional delays. The theory is described in the paper:
Ha T. Nguyen and Minh N. Do, Hybrid filter banks with fractional delays: Minimax design and application to...
Impulse response invariant discretization of BICO (Bode's Ideal Cut-Off) transfer function BICO TF= 1./((s./w0+sqrt((s./w0).^2+1)).^r); r is a positive real number IN: Ts: The sampling period w0: Cutoff frequency ...
The demonstration of n-PSK modulation and demodulation with my own speech, with different value of n and sampling frequency and carrier, n = 2, 4, 8, 16 ,32...
function [optW, C, W] = sskernel(x,W,str) % [optW, C, W] = sskernel(x,W,str) % % Function `sskernel' returns an optimal bandwidth (standard deviation) % of the Gauss density function used in kernel density estimation. %...
This tool enhances signal detection for broad-mass TOF spectra by accounting for changing peak width and providing peak-shape-dependent filtering capabilities. A set of input TOF spectra is processed to produce aligned peak list and array of...
Perform Calibrated Spectral Analysis. Use mic_calilb to calculate the calibration factor. Multiply the time records by the calibration factor and process the time records with pressure _spectra. pressure_spectra is the main program and allows the...
The Sampler API allows modules to easily collect and store calculated pieces of data. It's designed primarily to assist in collection, storage, and display of metrics.
Modules provide the API with a metric to track (eg. 'Number of...
HARMASYLLABLESEG - Segments a signal stored in a WAV file into individual syllables. Also graphs the spectrogram and signal with syllables highlighted in red to show what parts of the signal contain syllables.
INPUT:
-...
Click on any point in the signal to find the FFT of the surrounding portion of given length. Provide the sampling frequency, window length and load the signal. Click on any point on the signal. Program creates a window of given length on...
Code computes Time domain and frequency domain plot of input signal, Pam Signal, Recovered Signal. Code also Computes Distortion %%%%%% PSD Of PAM Signal is stored in an array Power_PAM that has powers of PAM signal stored in [Pfm Pfs-fm...
A 50 kW, 380 V, 50 Hz load is connected to a 25 kV, 60 Hz grid through a AC-DC-AC power supply. This power supply consists of two voltage source converters, VSC1 and VSC2, connected through a DC link.
VSC1 connected on 60Hz grid is...
[INFO, DATA] = ACQREAD(FILENAME) reads the content of the AcqKnowledge file specified in the string FILENAME. INFO is a structure containing the metadata (header, markers, etc.). DATA is a cell array, indexed by the channel number, containing the...
It takes a 8 khz sampling in real-time, and performs a FFT at 100 hz with a sliding hamming window to give clean results. All of this is in a GUI which allows you to see the spectrometer and energymeter. Some of the background audio processing...
A Monte-Carlo simulation meant to calculate the position of micronsized particles in an optical trap (seen as an harmonic potential). It returns the position in meters. Bead radius, corner frequency/ trapping stiffness, sampling frequency and... |