In this code I have implemented a low pass filter using the filtfilt command. It plots the actual data, filtered data and the filter characteristics. Its pretty well commented out. Feel free to change portions of the code depending on your requirements i.e. the data, cutoff frequency, order of the filter etc.
It is a new block library simulink called Detection of Frequency of periodic signal.
Write a program to generate QPSK constant envelope signal waveforms(a)for given rectangular pulse shape. Select the carrier frequency as fc = 6/T. (b)Repeat the experiment given that the signal shape is g (t)= dldu(1-cos2dcdet/T) , 0...
It is the HEARTVI1FP1 block simulink of global functionnement of the heart with frequency and blood pressure.Training this block you will see that can happen a problem.One subsystem is the detection of frequency signal,and this block run well if...
Plots Rectangular, Hamming and Flat top WINDOWS responses. Also plots the spectrum of the wav signal before and after applying the lowpass filter. Then writes the WAVs of these signals.
Parameters that were made to be set: -file...
A Simulink model that generates and displays a simple cosine wave. The model computes the cosine function using the continuous phase method, which is based on Euler's formula for the complex exponential. The cosine generator is provided as a...
It is designed to generate ac output of 27 levels/ phase. Three H bridges are used with three unequal distributed DC sources (1:3:9). "A" represents the no. of level in the output and "F" indicates the output frequency....
This routine computes the fft of the input signal and removes power at the annual (or any specified frequency) by replacing the power at that frequency with the average of terms on both sides; this is done in the sine and cosine terms so as to...
With this function, you can get the value of L (wavelength), k (wave number), sigma(angular frequency), using different solutions of the dispersion relationship. Inputs: h = deep water (m) T = wave period (s) Outputs: ...
Sub band processing is based on splitting the frequency range into M segments (subbands),which together encompass the entire range. Each subband is processed independently, as called for by the specific application. The subbands are recombined...
SimPowerSystems(SPS) and Simscape are used to calculate losses in a 3-phase, 3-level inverter. From a +/- 1800 volts DC source, a 400-kW, 3-phase 3-level inverter delivers variable power to a distribution power system. The inverter...
This is a little script that adds several Gaussian or Lorentzian functions with the appropriate full width at half max and height to generate and plot a spectrum. The input is an array containing frequency vs oscillator strength, desired fwhm of...
Laboratory 4 of 12 for the Texas Instruments TMS320C5416 DSK.
A self-teach application or college laboratory to allow the student to find out by practical experiment the answer to the following question: How many coefficients are...
The model simulates space vector based three phase inverter with the state space model of thefilter. The model parameters such as frequency, switching frequency, load parameters, voltage, modulation index and filter A,B,C,D parameters.
The input of the filter is a armonic signal which is sum of two sinusoidal component. The frequency behavior of the filter is chose to attenuate the high spectral component of the input signal with 20 dB.
allan_modified.m calculates the modified Allan deviation (MDEV) of a time domain signal. It is intended for stability analysis of frequency data. Fractional frequency or phase data sets with sample rate or time stamp information are handled.
Laboratory 7 of 12 for the Texas Instruments TMS320C5416 DSK.
A self-teach application or college laboratory to allow the student to find out by practical experiment the answer to the following question: What is the difference in...
[transformedHistogram,newX]=transformHistogram(originalHistogram,originalX,formula) transformHistogram transforms the histogram stored in the 1D array 'orignalHistogram' according to the formula 'formula'. 'originalHistogram' is defined...
Calculate a sine vector including harmonics. Save as wave file. Produce a sine vector including harmonics. Different intensities for harmonics are possible. Control duration and sample rate. Save sine vector as a wave file.
Simple frequency division multiplexing simulation. |