SWISS ARMY KNIFE INDICATOR John F. Ehlers
|
|
- Roland Whitehead
- 7 years ago
- Views:
Transcription
1 SWISS ARMY KNIFE INDICATOR John F. Ehlers The indicator I describe in this article does all the common functions of the usual indicators, such as smoothing and momentum generation. It also does some unusual things, such as band stop and band reject filtering. Once you program this indicator into your trading platform you can do virtually any technical analysis technique with it. This unique general indicator results from general Digital Signal Processing (DSP) concepts for discrete signal networks that appear in various forms in technical analysis. The description of this indicator involves Z Transforms. Z Transforms are a convenient way of solving difficult difference equations in much the same way as LaPlace Transforms are used to solve differential equations in calculus. Difference equations arise from the use of sampled data, such as we have in technical analysis. That is, daily bars sample price data once a day. Intraday bars sample price data every minute, hour, or whatever. The concept is the same regardless of the sampling rate. In Z Transforms, Z - stands for one sample period of delay. For simplicity, I will always refer to daily bars as the sample rate. The Transfer Function of a discrete linear system is the ratio of the output of the system divided by the input. Since both the output and input can be described in terms of polynomials in the Z domain, we can write the Transfer Function of a very simple indicator where as: Output Input b a 0 0 bz a Z In this case, both the input and output involve only a constant term and a term having one unit of delay. By cross multiplying and factoring, we can describe the output in terms of the input as: Output * b0 * Input b Z * Input az * Output a0 This equation is easily converted to indicator programming languages. For example, in EasyLanguage, N units of delay is denoted by [N] after the variable. Thus the Transfer Function programs to: Output a 0 * b * Input b 0 * Input[] a * Output[] This article was inspired by The Swiss Army Knife of Digital Networks, Richard Lyons and Amy Bell, IEEE Signal Processing Magazine, May 004, pp 90-00
2 Suppose that a 0 =, b 0 =, b =0, and a =-(-). In this case, the programmed equation is: Output * Input ( ) * Output [] In other words, the generalized simple expression programs to become the familiar exponential moving average. Note that the coefficients for the input term and the output term sum to one. This means that the DC (Direct Current), or zero frequency, value of the filter is unity so that if the input is constant for a long time, the output is (nearly) equal to the input. With this introduction, you are ready for the Swiss Army Knife Indicator. The transfer response is a rational expression of two second order polynomials as: Output Input b b Z b Z 0 c c Z a Z a Z 0 N Converting this to a programmable equation, we obtain: Output c0 * b0 * Input b * Input [] b * Input [] a * Output [] a * Output [] c * Input [ N ] All we have to do now is to establish a table for the various coefficients to implement the Swiss Army Knife Indicator. The equation need be only programmed once, and each of the coefficient sets can be remarked out except for the coefficient set desired in any instance. Exponential Moving Average (EMA) You have already been exposed to the EMA. The complete coefficient set is c 0 c N b 0 b b a a EMA (-) 0 But what does mean? Alpha is commonly related to the equivalent smoothing of a Simple Moving Average (SMA) of length L as: L If you tend to think of the market data in terms of its frequency content as I do, the relationship between alpha and the cycle period where the corner of the attenuation starts is:
3 Cos Cos Period In EasyLanguage, Sines and Cosines are computed in degrees rather than in radians, and therefore 360 should be substituted for. As a check on your math, if we want to attenuate all cycle components shorter than 0 bars, we compute =.735. This is roughly equivalent to a six bar SMA. Simple Moving Average (SMA) Period Sin Period A simple moving average sums N samples of data and divides the sum by N. A more efficient method of computing a SMA is to drop off the oldest term and add the newest data value divided by N. To implement this method of computing an SMA of length N, the coefficients of the Swiss Army Knife Indicator are: c 0 c N b 0 b B a a SMA /N N Be careful of using this implementation of the SMA is initialization. For example, if you start with a zero value of the SMA and you are averaging a Stock whose price is approximately 30, it will take quite some time for the SMA to recover from the incorrect initial value. Initialization error recovery time can be reduced with a line of code something like: If CurrentBar < N then SMA = Price; Two Pole Gaussian Filter A Gaussian Filter offers a very low lag compared to other smoothing filters of like order. (The order is the largest exponent in the transfer equation). It can be implemented by taking an EMA of an EMA, but that method leaves the computation of the correct alpha to be a little nebulous. The double EMA is the equivalent of squaring the Transfer Response of an EMA. Therefore, the coefficients of the Swiss Army Knife Indicator for the two pole Gaussian Filter are: c 0 c N b 0 b B a a Gauss (-) -(-) The correct value of alpha is related to the cutoff period that you wish to attenuate. It can be computed as : John Ehlers, Rocket Science for Traders, John Wiley & Sons, page 6
4 where.45 Cos Period Please note that alpha has a different meaning than it did in the EMA equation. The same is true for beta in subsequent calculations. Figure shows a theoretical chirped sinewave whose period is slowly increasing from a 0 bar cycle at the left of the screen to a 40 bar cycle at the right of the screen. The Period for the Gaussian Filter is set at 0, which is near the center of the screen. Figure shows that the Gaussian Filter is a Low Pass filter, allowing the lower frequencies to pass and attenuating the higher frequencies. Figure. Gaussian Filter Attenuates Shorter Cycles Two Pole Butterworth Filter The response of a two pole Butterworth Filter can be approximated by introducing a second order polynomial with binomial coefficients in the numerator of the Transfer Response of the Gaussian Filter. The alpha is computed the same as for the Gaussian Filter. Doing this, the Swiss Army Knife Indicator coefficients are: c 0 c N b 0 b b a a Butter 0 0 (-) -(-)
5 While trivial, but shown for completeness, a low lag three tap smoothing filter is obtained by eliminating the higher order terms in the denominator of the Transfer Response. This smoother is implemented using the coefficients: c 0 c N b 0 b b a a Smooth The smoothing realized from this filter is extremely modest, rejecting only the bar cycle component. High Pass Filter A High Pass Filter is the more general version of a momentum function. Its purpose is to eliminate the constant (DC) term and lower frequency (longer period) terms that do not contribute to the shorter term cycles in the data. c 0 c N b 0 b b a a HP -/ (-) 0 Alpha for the High Pass Filter is computed exactly the same as it is for the EMA. That is: Cos Sin Period Period Cos Period
6 Two Pole High Pass Filter Just as we got sharper filtering by squaring the Transfer Response of the EMA to get a Gaussian Low Pass Filter, we can square the Transfer Response of the High Pass filter to improve the filtering. In general, there is an approximate one bar lag penalty for obtaining the improved filtering. The Swiss Army Knife Indicator coefficients are: c 0 c N b 0 b b a a PHP (-) (-) -(-) Alpha is computed exactly the same as for the Gaussian response. That is: where.45 Cos Period Figure shows the same theoretical chirped sinewave and the PHP response. The Period for the PHP Filter is set at 0, which is near the center of the screen. Figure shows that the PHP Filter is a High Pass filter, allowing the higher frequencies to pass and attenuating the lower frequencies. Figure. PHP Filter Attenuates Longer Cycles
7 BandPass Filter This is where the Swiss Army Knife Indicator really starts to get interesting! It can generate bandpass response to extract only the frequency component of interest. For example, if you want to examine the weekly cycle in the data, just set the period to 5. Monthly data can be extracted by setting the period to 0,, or. Since the passband of the filter is finite, the exact setting of the center period is not crucial. Another way to use the BandPass Filter is to create a bank of them, separated by a fixed percentage, and display all of the filter outputs as an indicator set. Doing this, you can see at which filter the data peaks the strongest. For filters tuned to periods shorter than the dominant cycle in the data, the filter response will peak before the peak in the data. Filters tuned to periods longer than the dominant cycle in the data, the filter response will peak after the peak in the data. This way, you can estimate the current dominant cycle and, if the data are stationary, you can even predict the turning point. The Swiss Army Knife Indicator coefficients for the BandPass Filter are: c 0 c N b 0 b b a a BP (-)/ (-) In this case, Cos Period Don t forget to substitute 360 for in some languages. So, if you wanted to examine monthly data, the value of Beta would be The selectivity of the BandPass filter is established by the variable alpha. Alpha is a function of the center frequency of the filter as well as the width of the passband. Letting be the descriptor of the filter passband, where is a percentage of the center, we can compute alpha as: 4 where Cos Period It is easy to get carried away with trying to make the BandPass Filter passband either be too narrow or too wide. As a guideline, I suggest keeping the half bandwidth between 5 percent and 50 percent. That is 0.05 < < 0.5. Figure 3 shows the same theoretical chirped sinewave and the Bandpass response of the Swiss Army Knife Indicator. The Period for the BandPass Filter is
8 set at 0, which is near the center of the screen. The BandPass response speaks for itself. Figure 3. BandPass Response Allows only a Range of Frequencies to Pass BandStop Filter It might be interesting to also examine the data if the weekly or monthly components were removed, leaving all the other components in place. The alpha and beta variables are computed exactly as they were for the BandPass filter. The Swiss Army Knife coefficients are: c 0 c N b 0 b b a a BS (+)/ (+) An interesting set of indicators would be to compute a bank of BandStop Filters, each having a percentage increase in the value of the center period, and plot them overlaid on your barchart. The smoothest curve would be the one with the dominant cycle removed. The shorter and longer filters can also give you insight into the market action. Figure 4 again shows the same theoretical chirped sinewave, but with the BandStop response of the Swiss Army Knife Indicator. The Period for the BandStop Filter is set at 0, which is near the center of the screen. The BandStop response speaks for itself.
9 Figure 4. BandStop Response Blocks a Range of Frequencies Sliding Digital Fourier Transform (DFT) Fourier Transforms are useless for Technical Analysis because the data are simply not stationary for a sufficient duration to make a valid estimate of the spectrum. Vastly superior spectrum estimates can be made with the MESA 3 algorithm or measurements of the dominant cycle can be made using the Hilbert Transform 4. I include the description of the DFT here simply to show that it can be done with the Swiss Army Knife Indicator. The coefficients are: c 0 c N b 0 b b a a DFT re j r N re j N For stability, r is any number slightly less than unity like As with all Fourier Transforms, analysis is performed only at discrete periods. Those periods are k where k <= N, and the variable theta is computed as = k/n. The programming solution involves complex arithmetic. Since the DFT is useless for trading, I have not included it in the Swiss Army Knife EasyLanguage code. If you try to contact me for the code, you do so at the peril of being branded an idiot for trying to use a DFT in the first place. 3 John Ehlers, MESA, and Trading Market Cycles, nd Ed, John Wiley and Sons 4 John Ehlers, Cybernetic Analysis for Stocks and Futures, John Wiley and Sons
10 SUMMARY The Swiss Army Knife Indicator is a versatile approach that creates a wide variety of responses that range from smoothers to oscillators. Novel BandPass and BandStop filters can also be produced. All of this can be done with one line of code in most platforms. The various responses come from the coefficients that can be called as functions if you prefer. In Figure 5 the EasyLanguage formulation shows the coefficients as variables that are initialized to the default values and are changed in block conditional statements. This makes indicator programming extremely simple. Table summarizes the coefficients for the ten separate and distinct responses that can be generated from the single Swiss Army Knife Indicator. Table. Swiss Army Knife Coefficients c 0 c N b 0 b b a a default EMA (-) 0 SMA /N N Gauss (-) -(-) Butter 0 0 (-) -(-) Smooth HP -/ (-) 0 PHP (-) (-) -(-) BP (-)/ (-) BS (+)/ (+) DFT re j r N re j N Figure 5. Swiss Army Knife EasyLanguage Code { SWISS ARMY KNIFE INDICATOR by John Ehlers } Inputs: Price((H+L)/), Type("BP"), N(0), Period(0), delta(.); Vars: c0(), c(0),
11 b0(), b(0), b(0), a(0), a(0), alpha(0), beta(0), gamma(0), Filt(0); If Type = "EMA" Then Begin If CurrentBar <= N then Filt = Price; alpha = (Cosine(360/Period) + Sine(360/Period) - ) / Cosine(360/Period); b0 = alpha; a = - alpha; If Type = "SMA" Then Begin If CurrentBar <= N then Filt = Price; c = / N; b0 = / N; a = ; If Type = "Gauss" Then Begin If CurrentBar <= N then Filt = Price; beta =.45*( - Cosine(360 / Period)); alpha = -beta + SquareRoot(beta*beta + *beta); c0 = alpha*alpha; a = *( - alpha); a = -( - alpha)*( - alpha); If Type = "Butter" Then Begin If CurrentBar <= N then Filt = Price; beta =.45*( - Cosine(360 / Period)); alpha = -beta + SquareRoot(beta*beta + *beta); c0 = alpha*alpha / 4; b = ; b = ; a = *( - alpha); a = -( - alpha)*( - alpha); If Type = "Smooth" Then Begin c0 = / 4; b = ; b = ; If Type = "HP" Then Begin
12 If CurrentBar <= N then Filt = 0; alpha = (Cosine(360/Period) + Sine(360/Period) - ) / Cosine(360/Period); c0 = - alpha / ; b = -; a = - alpha; If Type = "PHP" Then Begin If CurrentBar <= N then Filt = 0; beta =.45*( - Cosine(360 / Period)); alpha = -beta + SquareRoot(beta*beta + *beta); c0 = ( - alpha / )*( - alpha / ); b = -; b = ; a = *( - alpha); a = -( - alpha)*( - alpha); If Type = "BP" Then Begin If CurrentBar <= N then Filt = Price; beta = Cosine(360 / Period); gamma = / Cosine(70*delta / Period); alpha = gamma - SquareRoot(gamma*gamma - ); c0 = ( - alpha) / ; b = -; a = beta*( + alpha); a = -alpha; If Type = "BS" Then Begin If CurrentBar <= N then Filt = Price; beta = Cosine(360 / Period); gamma = / Cosine(70*delta / Period); alpha = gamma - SquareRoot(gamma*gamma - ); c0 = ( + alpha) / ; b = -*beta; b = ; a = beta*( + alpha); a = -alpha; If CurrentBar > N Then Begin Filt = c0*(b0*price + b*price[] + b*price[]) + a*filt[] + a*filt[] - c*price[n]; Plot(Filt, "Swiss"); Combinations of several Swiss Army Knife outputs can also make a wide variety of new and unique indicators. For example, a MACD is just the difference of two
13 EMAs. Why not try the difference of two Gaussian Filters to get sharper filtering in the indicators? Even more interesting, why not try the difference of two BandPass filters one a longer period center and the other a shorter period center to eliminate even more unwanted junk from the data? An interesting predictive oscillator can be obtained by plotting two BandPass filter differences, one having a slightly shorter set of periods than the other. The list goes on and on. For example, the difference of two BandStop filters is exactly out of phase with the difference of two BandPass filters with the same settings. Novel combinations of BandPass and BandStop filters could produce some highly illuminating indicators. I hope I have met my goal of giving you an interesting new tool to use in your Technical Analysis, and perhaps some ideas on how you can make your own unique indicator.
HYBRID FIR-IIR FILTERS By John F. Ehlers
HYBRID FIR-IIR FILTERS By John F. Ehlers Many traders have come to me, asking me to make their indicators act just one day sooner. They are convinced that this is just the edge they need to make a zillion
More informationPredictive Indicators for Effective Trading Strategies By John Ehlers
Predictive Indicators for Effective Trading Strategies By John Ehlers INTRODUCTION Technical traders understand that indicators need to smooth market data to be useful, and that smoothing introduces lag
More informationEhlers Filters by John Ehlers
Ehlers Filters by John Ehlers The most common filters used by traders are Moving Averages either Simple Moving Averages (SMA) or Exponential Moving Averages (EMA). These are linear filters. Linear filters
More informationTHE INVERSE FISHER TRANSFORM By John Ehlers
THE INVERSE FISHER TRANSFORM By John Ehlers The purpose of technical indicators is to help with your timing decisions to buy or sell. Hopefully, the signals are clear and unequivocal. However, more often
More informationINFERRING TRADING STRATEGIES FROM PROBABILITY DISTRIBUTION FUNCTIONS
INFERRING TRADING STRATEGIES FROM PROBABILITY DISTRIBUTION FUNCTIONS INFERRING TRADING STRATEGIES FROM PROBABILITY DISTRIBUTION FUNCTIONS BACKGROUND The primary purpose of technical analysis is to observe
More informationDesign of FIR Filters
Design of FIR Filters Elena Punskaya www-sigproc.eng.cam.ac.uk/~op205 Some material adapted from courses by Prof. Simon Godsill, Dr. Arnaud Doucet, Dr. Malcolm Macleod and Prof. Peter Rayner 68 FIR as
More informationSection 5.0 : Horn Physics. By Martin J. King, 6/29/08 Copyright 2008 by Martin J. King. All Rights Reserved.
Section 5. : Horn Physics Section 5. : Horn Physics By Martin J. King, 6/29/8 Copyright 28 by Martin J. King. All Rights Reserved. Before discussing the design of a horn loaded loudspeaker system, it is
More informationShort-time FFT, Multi-taper analysis & Filtering in SPM12
Short-time FFT, Multi-taper analysis & Filtering in SPM12 Computational Psychiatry Seminar, FS 2015 Daniel Renz, Translational Neuromodeling Unit, ETHZ & UZH 20.03.2015 Overview Refresher Short-time Fourier
More informationLock - in Amplifier and Applications
Lock - in Amplifier and Applications What is a Lock in Amplifier? In a nut shell, what a lock-in amplifier does is measure the amplitude V o of a sinusoidal voltage, V in (t) = V o cos(ω o t) where ω o
More informationPositive Feedback and Oscillators
Physics 3330 Experiment #6 Fall 1999 Positive Feedback and Oscillators Purpose In this experiment we will study how spontaneous oscillations may be caused by positive feedback. You will construct an active
More informationSUMMARY. Additional Digital/Software filters are included in Chart and filter the data after it has been sampled and recorded by the PowerLab.
This technique note was compiled by ADInstruments Pty Ltd. It includes figures and tables from S.S. Young (2001): Computerized data acquisition and analysis for the life sciences. For further information
More informationMath Placement Test Practice Problems
Math Placement Test Practice Problems The following problems cover material that is used on the math placement test to place students into Math 1111 College Algebra, Math 1113 Precalculus, and Math 2211
More informationSIGNAL PROCESSING & SIMULATION NEWSLETTER
1 of 10 1/25/2008 3:38 AM SIGNAL PROCESSING & SIMULATION NEWSLETTER Note: This is not a particularly interesting topic for anyone other than those who ar e involved in simulation. So if you have difficulty
More informationThe front end of the receiver performs the frequency translation, channel selection and amplification of the signal.
Many receivers must be capable of handling a very wide range of signal powers at the input while still producing the correct output. This must be done in the presence of noise and interference which occasionally
More informationSecond Order Linear Nonhomogeneous Differential Equations; Method of Undetermined Coefficients. y + p(t) y + q(t) y = g(t), g(t) 0.
Second Order Linear Nonhomogeneous Differential Equations; Method of Undetermined Coefficients We will now turn our attention to nonhomogeneous second order linear equations, equations with the standard
More informationFrequency Response of Filters
School of Engineering Department of Electrical and Computer Engineering 332:224 Principles of Electrical Engineering II Laboratory Experiment 2 Frequency Response of Filters 1 Introduction Objectives To
More informationx 2 + y 2 = 1 y 1 = x 2 + 2x y = x 2 + 2x + 1
Implicit Functions Defining Implicit Functions Up until now in this course, we have only talked about functions, which assign to every real number x in their domain exactly one real number f(x). The graphs
More informationThe Method of Partial Fractions Math 121 Calculus II Spring 2015
Rational functions. as The Method of Partial Fractions Math 11 Calculus II Spring 015 Recall that a rational function is a quotient of two polynomials such f(x) g(x) = 3x5 + x 3 + 16x x 60. The method
More informationa 11 x 1 + a 12 x 2 + + a 1n x n = b 1 a 21 x 1 + a 22 x 2 + + a 2n x n = b 2.
Chapter 1 LINEAR EQUATIONS 1.1 Introduction to linear equations A linear equation in n unknowns x 1, x,, x n is an equation of the form a 1 x 1 + a x + + a n x n = b, where a 1, a,..., a n, b are given
More informationEm bedded DSP : I ntroduction to Digital Filters
Embedded DSP : Introduction to Digital Filters 1 Em bedded DSP : I ntroduction to Digital Filters Digital filters are a important part of DSP. In fact their extraordinary performance is one of the keys
More informationFFT Algorithms. Chapter 6. Contents 6.1
Chapter 6 FFT Algorithms Contents Efficient computation of the DFT............................................ 6.2 Applications of FFT................................................... 6.6 Computing DFT
More informationThe Calculation of G rms
The Calculation of G rms QualMark Corp. Neill Doertenbach The metric of G rms is typically used to specify and compare the energy in repetitive shock vibration systems. However, the method of arriving
More informationMATHEMATICAL TRADING INDICATORS
MATHEMATICAL TRADING INDICATORS The mathematical trading methods provide an objective view of price activity. It helps you to build up a view on price direction and timing, reduce fear and avoid overtrading.
More informationAlgebra. Exponents. Absolute Value. Simplify each of the following as much as possible. 2x y x + y y. xxx 3. x x x xx x. 1. Evaluate 5 and 123
Algebra Eponents Simplify each of the following as much as possible. 1 4 9 4 y + y y. 1 5. 1 5 4. y + y 4 5 6 5. + 1 4 9 10 1 7 9 0 Absolute Value Evaluate 5 and 1. Eliminate the absolute value bars from
More informationG(s) = Y (s)/u(s) In this representation, the output is always the Transfer function times the input. Y (s) = G(s)U(s).
Transfer Functions The transfer function of a linear system is the ratio of the Laplace Transform of the output to the Laplace Transform of the input, i.e., Y (s)/u(s). Denoting this ratio by G(s), i.e.,
More informationDesign of Efficient Digital Interpolation Filters for Integer Upsampling. Daniel B. Turek
Design of Efficient Digital Interpolation Filters for Integer Upsampling by Daniel B. Turek Submitted to the Department of Electrical Engineering and Computer Science in partial fulfillment of the requirements
More informationCHAPTER 5 Round-off errors
CHAPTER 5 Round-off errors In the two previous chapters we have seen how numbers can be represented in the binary numeral system and how this is the basis for representing numbers in computers. Since any
More informationThis document is downloaded from DR-NTU, Nanyang Technological University Library, Singapore.
This document is downloaded from DR-NTU, Nanyang Technological University Library, Singapore. Title Transcription of polyphonic signals using fast filter bank( Accepted version ) Author(s) Foo, Say Wei;
More informationCorrelation and Convolution Class Notes for CMSC 426, Fall 2005 David Jacobs
Correlation and Convolution Class otes for CMSC 46, Fall 5 David Jacobs Introduction Correlation and Convolution are basic operations that we will perform to extract information from images. They are in
More informationFirst, we show how to use known design specifications to determine filter order and 3dB cut-off
Butterworth Low-Pass Filters In this article, we describe the commonly-used, n th -order Butterworth low-pass filter. First, we show how to use known design specifications to determine filter order and
More informationAnalog and Digital Filters Anthony Garvert November 13, 2015
Analog and Digital Filters Anthony Garvert November 13, 2015 Abstract In circuit analysis and performance, a signal transmits some form of information, such as a voltage or current. However, over a range
More informationLecture 9. Poles, Zeros & Filters (Lathi 4.10) Effects of Poles & Zeros on Frequency Response (1) Effects of Poles & Zeros on Frequency Response (3)
Effects of Poles & Zeros on Frequency Response (1) Consider a general system transfer function: zeros at z1, z2,..., zn Lecture 9 Poles, Zeros & Filters (Lathi 4.10) The value of the transfer function
More informationUsing Order Book Data
Q3 2007 Using Order Book Data Improve Automated Model Performance by Thom Hartle TradeFlow Charts and Studies - Patent Pending TM Reprinted from the July 2007 issue of Automated Trader Magazine www.automatedtrader.net
More information2.161 Signal Processing: Continuous and Discrete Fall 2008
MT OpenCourseWare http://ocw.mit.edu.6 Signal Processing: Continuous and Discrete Fall 00 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms. MASSACHUSETTS
More informationMethod To Solve Linear, Polynomial, or Absolute Value Inequalities:
Solving Inequalities An inequality is the result of replacing the = sign in an equation with ,, or. For example, 3x 2 < 7 is a linear inequality. We call it linear because if the < were replaced with
More informationReview of Fundamental Mathematics
Review of Fundamental Mathematics As explained in the Preface and in Chapter 1 of your textbook, managerial economics applies microeconomic theory to business decision making. The decision-making tools
More informationAuto-Tuning Using Fourier Coefficients
Auto-Tuning Using Fourier Coefficients Math 56 Tom Whalen May 20, 2013 The Fourier transform is an integral part of signal processing of any kind. To be able to analyze an input signal as a superposition
More information0.8 Rational Expressions and Equations
96 Prerequisites 0.8 Rational Expressions and Equations We now turn our attention to rational expressions - that is, algebraic fractions - and equations which contain them. The reader is encouraged to
More informationNumerical integration of a function known only through data points
Numerical integration of a function known only through data points Suppose you are working on a project to determine the total amount of some quantity based on measurements of a rate. For example, you
More information5.1 Radical Notation and Rational Exponents
Section 5.1 Radical Notation and Rational Exponents 1 5.1 Radical Notation and Rational Exponents We now review how exponents can be used to describe not only powers (such as 5 2 and 2 3 ), but also roots
More informationThe continuous and discrete Fourier transforms
FYSA21 Mathematical Tools in Science The continuous and discrete Fourier transforms Lennart Lindegren Lund Observatory (Department of Astronomy, Lund University) 1 The continuous Fourier transform 1.1
More informationSoil Dynamics Prof. Deepankar Choudhury Department of Civil Engineering Indian Institute of Technology, Bombay
Soil Dynamics Prof. Deepankar Choudhury Department of Civil Engineering Indian Institute of Technology, Bombay Module - 2 Vibration Theory Lecture - 8 Forced Vibrations, Dynamic Magnification Factor Let
More informationchapter Introduction to Digital Signal Processing and Digital Filtering 1.1 Introduction 1.2 Historical Perspective
Introduction to Digital Signal Processing and Digital Filtering chapter 1 Introduction to Digital Signal Processing and Digital Filtering 1.1 Introduction Digital signal processing (DSP) refers to anything
More informationANALYZER BASICS WHAT IS AN FFT SPECTRUM ANALYZER? 2-1
WHAT IS AN FFT SPECTRUM ANALYZER? ANALYZER BASICS The SR760 FFT Spectrum Analyzer takes a time varying input signal, like you would see on an oscilloscope trace, and computes its frequency spectrum. Fourier's
More informationProbability and Random Variables. Generation of random variables (r.v.)
Probability and Random Variables Method for generating random variables with a specified probability distribution function. Gaussian And Markov Processes Characterization of Stationary Random Process Linearly
More informationBasic Electronics Prof. Dr. Chitralekha Mahanta Department of Electronics and Communication Engineering Indian Institute of Technology, Guwahati
Basic Electronics Prof. Dr. Chitralekha Mahanta Department of Electronics and Communication Engineering Indian Institute of Technology, Guwahati Module: 2 Bipolar Junction Transistors Lecture-2 Transistor
More informationA Quick Tutorial in MACD: Basic Concepts. By Gerald Appel and Marvin Appel
A Quick Tutorial in MACD: Basic Concepts By Gerald Appel and Marvin Appel The Moving Average Convergence-Divergence Indicator (MACD) has been a staple of technical analysis since Gerald invented it more
More informationUnderstanding Poles and Zeros
MASSACHUSETTS INSTITUTE OF TECHNOLOGY DEPARTMENT OF MECHANICAL ENGINEERING 2.14 Analysis and Design of Feedback Control Systems Understanding Poles and Zeros 1 System Poles and Zeros The transfer function
More information1 Solving LPs: The Simplex Algorithm of George Dantzig
Solving LPs: The Simplex Algorithm of George Dantzig. Simplex Pivoting: Dictionary Format We illustrate a general solution procedure, called the simplex algorithm, by implementing it on a very simple example.
More information7. Beats. sin( + λ) + sin( λ) = 2 cos(λ) sin( )
34 7. Beats 7.1. What beats are. Musicians tune their instruments using beats. Beats occur when two very nearby pitches are sounded simultaneously. We ll make a mathematical study of this effect, using
More informationIntroduction to the Economic Growth course
Economic Growth Lecture Note 1. 03.02.2011. Christian Groth Introduction to the Economic Growth course 1 Economic growth theory Economic growth theory is the study of what factors and mechanisms determine
More informationSOFTWARE FOR GENERATION OF SPECTRUM COMPATIBLE TIME HISTORY
3 th World Conference on Earthquake Engineering Vancouver, B.C., Canada August -6, 24 Paper No. 296 SOFTWARE FOR GENERATION OF SPECTRUM COMPATIBLE TIME HISTORY ASHOK KUMAR SUMMARY One of the important
More informationPolynomial and Rational Functions
Polynomial and Rational Functions Quadratic Functions Overview of Objectives, students should be able to: 1. Recognize the characteristics of parabolas. 2. Find the intercepts a. x intercepts by solving
More informationFAST Fourier Transform (FFT) and Digital Filtering Using LabVIEW
FAST Fourier Transform (FFT) and Digital Filtering Using LabVIEW Wei Lin Department of Biomedical Engineering Stony Brook University Instructor s Portion Summary This experiment requires the student to
More informationLecture - 4 Diode Rectifier Circuits
Basic Electronics (Module 1 Semiconductor Diodes) Dr. Chitralekha Mahanta Department of Electronics and Communication Engineering Indian Institute of Technology, Guwahati Lecture - 4 Diode Rectifier Circuits
More information3.2 Sources, Sinks, Saddles, and Spirals
3.2. Sources, Sinks, Saddles, and Spirals 6 3.2 Sources, Sinks, Saddles, and Spirals The pictures in this section show solutions to Ay 00 C By 0 C Cy D 0. These are linear equations with constant coefficients
More informationA Tutorial on the Decibel
A Tutorial on the Decibel This tutorial combines information from several authors, including Bob DeVarney, W1ICW; Walter Bahnzaf, WB1ANE; and Ward Silver, NØAX Decibels are part of many questions in the
More informationChapter 10. Key Ideas Correlation, Correlation Coefficient (r),
Chapter 0 Key Ideas Correlation, Correlation Coefficient (r), Section 0-: Overview We have already explored the basics of describing single variable data sets. However, when two quantitative variables
More informationFrequency response: Resonance, Bandwidth, Q factor
Frequency response: esonance, Bandwidth, Q factor esonance. Let s continue the exploration of the frequency response of circuits by investigating the series circuit shown on Figure. C + V - Figure The
More information8 Filtering. 8.1 Mathematical operation
8 Filtering The estimated spectrum of a time series gives the distribution of variance as a function of frequency. Depending on the purpose of analysis, some frequencies may be of greater interest than
More informationWeek 13 Trigonometric Form of Complex Numbers
Week Trigonometric Form of Complex Numbers Overview In this week of the course, which is the last week if you are not going to take calculus, we will look at how Trigonometry can sometimes help in working
More informationSolving Rational Equations
Lesson M Lesson : Student Outcomes Students solve rational equations, monitoring for the creation of extraneous solutions. Lesson Notes In the preceding lessons, students learned to add, subtract, multiply,
More informationPartial Fractions. Combining fractions over a common denominator is a familiar operation from algebra:
Partial Fractions Combining fractions over a common denominator is a familiar operation from algebra: From the standpoint of integration, the left side of Equation 1 would be much easier to work with than
More informationDefinition 8.1 Two inequalities are equivalent if they have the same solution set. Add or Subtract the same value on both sides of the inequality.
8 Inequalities Concepts: Equivalent Inequalities Linear and Nonlinear Inequalities Absolute Value Inequalities (Sections 4.6 and 1.1) 8.1 Equivalent Inequalities Definition 8.1 Two inequalities are equivalent
More informationTrigonometry Review with the Unit Circle: All the trig. you ll ever need to know in Calculus
Trigonometry Review with the Unit Circle: All the trig. you ll ever need to know in Calculus Objectives: This is your review of trigonometry: angles, six trig. functions, identities and formulas, graphs:
More informationBASIC ELECTRONICS AC CIRCUIT ANALYSIS. December 2011
AM 5-202 BASIC ELECTRONICS AC CIRCUIT ANALYSIS December 2011 DISTRIBUTION RESTRICTION: Approved for Pubic Release. Distribution is unlimited. DEPARTMENT OF THE ARMY MILITARY AUXILIARY RADIO SYSTEM FORT
More informationPOLYNOMIAL FUNCTIONS
POLYNOMIAL FUNCTIONS Polynomial Division.. 314 The Rational Zero Test.....317 Descarte s Rule of Signs... 319 The Remainder Theorem.....31 Finding all Zeros of a Polynomial Function.......33 Writing a
More informationThe aerodynamic center
The aerodynamic center In this chapter, we re going to focus on the aerodynamic center, and its effect on the moment coefficient C m. 1 Force and moment coefficients 1.1 Aerodynamic forces Let s investigate
More informationAlgebra 2 Chapter 1 Vocabulary. identity - A statement that equates two equivalent expressions.
Chapter 1 Vocabulary identity - A statement that equates two equivalent expressions. verbal model- A word equation that represents a real-life problem. algebraic expression - An expression with variables.
More informationDIODE CIRCUITS LABORATORY. Fig. 8.1a Fig 8.1b
DIODE CIRCUITS LABORATORY A solid state diode consists of a junction of either dissimilar semiconductors (pn junction diode) or a metal and a semiconductor (Schottky barrier diode). Regardless of the type,
More informationL9: Cepstral analysis
L9: Cepstral analysis The cepstrum Homomorphic filtering The cepstrum and voicing/pitch detection Linear prediction cepstral coefficients Mel frequency cepstral coefficients This lecture is based on [Taylor,
More informationElectronics for Analog Signal Processing - II Prof. K. Radhakrishna Rao Department of Electrical Engineering Indian Institute of Technology Madras
Electronics for Analog Signal Processing - II Prof. K. Radhakrishna Rao Department of Electrical Engineering Indian Institute of Technology Madras Lecture - 18 Wideband (Video) Amplifiers In the last class,
More informationCURVE FITTING LEAST SQUARES APPROXIMATION
CURVE FITTING LEAST SQUARES APPROXIMATION Data analysis and curve fitting: Imagine that we are studying a physical system involving two quantities: x and y Also suppose that we expect a linear relationship
More informationLABORATORY 10 TIME AVERAGES, RMS VALUES AND THE BRIDGE RECTIFIER. Bridge Rectifier
LABORATORY 10 TIME AVERAGES, RMS VALUES AND THE BRIDGE RECTIFIER Full-wave Rectification: Bridge Rectifier For many electronic circuits, DC supply voltages are required but only AC voltages are available.
More informationRepresentation of functions as power series
Representation of functions as power series Dr. Philippe B. Laval Kennesaw State University November 9, 008 Abstract This document is a summary of the theory and techniques used to represent functions
More informationPIEZO FILTERS INTRODUCTION
For more than two decades, ceramic filter technology has been instrumental in the proliferation of solid state electronics. A view of the future reveals that even greater expectations will be placed on
More informationThe Critical Length of a Transmission Line
Page 1 of 9 The Critical Length of a Transmission Line Dr. Eric Bogatin President, Bogatin Enterprises Oct 1, 2004 Abstract A transmission line is always a transmission line. However, if it is physically
More informationTransmission Line and Back Loaded Horn Physics
Introduction By Martin J. King, 3/29/3 Copyright 23 by Martin J. King. All Rights Reserved. In order to differentiate between a transmission line and a back loaded horn, it is really important to understand
More informationFilter Comparison. Match #1: Analog vs. Digital Filters
CHAPTER 21 Filter Comparison Decisions, decisions, decisions! With all these filters to choose from, how do you know which to use? This chapter is a head-to-head competition between filters; we'll select
More informationIntroduction to the Smith Chart for the MSA Sam Wetterlin 10/12/09 Z +
Introduction to the Smith Chart for the MSA Sam Wetterlin 10/12/09 Quick Review of Reflection Coefficient The Smith chart is a method of graphing reflection coefficients and impedance, and is often useful
More informationSolving Quadratic Equations
9.3 Solving Quadratic Equations by Using the Quadratic Formula 9.3 OBJECTIVES 1. Solve a quadratic equation by using the quadratic formula 2. Determine the nature of the solutions of a quadratic equation
More informationController Design in Frequency Domain
ECSE 4440 Control System Engineering Fall 2001 Project 3 Controller Design in Frequency Domain TA 1. Abstract 2. Introduction 3. Controller design in Frequency domain 4. Experiment 5. Colclusion 1. Abstract
More informationThe Fourier Analysis Tool in Microsoft Excel
The Fourier Analysis Tool in Microsoft Excel Douglas A. Kerr Issue March 4, 2009 ABSTRACT AD ITRODUCTIO The spreadsheet application Microsoft Excel includes a tool that will calculate the discrete Fourier
More informationENCOURAGING THE INTEGRATION OF COMPLEX NUMBERS IN UNDERGRADUATE ORDINARY DIFFERENTIAL EQUATIONS
Texas College Mathematics Journal Volume 6, Number 2, Pages 18 24 S applied for(xx)0000-0 Article electronically published on September 23, 2009 ENCOURAGING THE INTEGRATION OF COMPLEX NUMBERS IN UNDERGRADUATE
More informationSampling Theorem Notes. Recall: That a time sampled signal is like taking a snap shot or picture of signal periodically.
Sampling Theorem We will show that a band limited signal can be reconstructed exactly from its discrete time samples. Recall: That a time sampled signal is like taking a snap shot or picture of signal
More informationThe Moving Average. 2004 W. R. Booker II. All rights reserved forever and ever. And ever.
The Moving Average By Rob Booker 2004 W. R. Booker II. All rights reserved forever and ever. And ever. The information contained in this ebook is designed to teach you methods of watching forex quotes
More informationLoop Bandwidth and Clock Data Recovery (CDR) in Oscilloscope Measurements. Application Note 1304-6
Loop Bandwidth and Clock Data Recovery (CDR) in Oscilloscope Measurements Application Note 1304-6 Abstract Time domain measurements are only as accurate as the trigger signal used to acquire them. Often
More informationProbability and Statistics Prof. Dr. Somesh Kumar Department of Mathematics Indian Institute of Technology, Kharagpur
Probability and Statistics Prof. Dr. Somesh Kumar Department of Mathematics Indian Institute of Technology, Kharagpur Module No. #01 Lecture No. #15 Special Distributions-VI Today, I am going to introduce
More informationwww.mathsbox.org.uk ab = c a If the coefficients a,b and c are real then either α and β are real or α and β are complex conjugates
Further Pure Summary Notes. Roots of Quadratic Equations For a quadratic equation ax + bx + c = 0 with roots α and β Sum of the roots Product of roots a + b = b a ab = c a If the coefficients a,b and c
More informationPerformance. Power Plant Output in Terms of Thrust - General - Arbitrary Drag Polar
Performance 11. Level Flight Performance and Level flight Envelope We are interested in determining the maximum and minimum speeds that an aircraft can fly in level flight. If we do this for all altitudes,
More informationElectrical Resonance
Electrical Resonance (R-L-C series circuit) APPARATUS 1. R-L-C Circuit board 2. Signal generator 3. Oscilloscope Tektronix TDS1002 with two sets of leads (see Introduction to the Oscilloscope ) INTRODUCTION
More informationALGEBRA 2/TRIGONOMETRY
ALGEBRA /TRIGONOMETRY The University of the State of New York REGENTS HIGH SCHOOL EXAMINATION ALGEBRA /TRIGONOMETRY Tuesday, June 1, 011 1:15 to 4:15 p.m., only Student Name: School Name: Print your name
More information1.3 Algebraic Expressions
1.3 Algebraic Expressions A polynomial is an expression of the form: a n x n + a n 1 x n 1 +... + a 2 x 2 + a 1 x + a 0 The numbers a 1, a 2,..., a n are called coefficients. Each of the separate parts,
More informationUnderstanding CIC Compensation Filters
Understanding CIC Compensation Filters April 2007, ver. 1.0 Application Note 455 Introduction f The cascaded integrator-comb (CIC) filter is a class of hardware-efficient linear phase finite impulse response
More informationMATH 4552 Cubic equations and Cardano s formulae
MATH 455 Cubic equations and Cardano s formulae Consider a cubic equation with the unknown z and fixed complex coefficients a, b, c, d (where a 0): (1) az 3 + bz + cz + d = 0. To solve (1), it is convenient
More informationPYTHAGOREAN TRIPLES KEITH CONRAD
PYTHAGOREAN TRIPLES KEITH CONRAD 1. Introduction A Pythagorean triple is a triple of positive integers (a, b, c) where a + b = c. Examples include (3, 4, 5), (5, 1, 13), and (8, 15, 17). Below is an ancient
More informationConvolution. The Delta Function and Impulse Response
CHAPTER 6 Convolution Convolution is a mathematical way of combining two signals to form a third signal. It is the single most important technique in Digital Signal Processing. Using the strategy of impulse
More informationTime series Forecasting using Holt-Winters Exponential Smoothing
Time series Forecasting using Holt-Winters Exponential Smoothing Prajakta S. Kalekar(04329008) Kanwal Rekhi School of Information Technology Under the guidance of Prof. Bernard December 6, 2004 Abstract
More informationLinearly Independent Sets and Linearly Dependent Sets
These notes closely follow the presentation of the material given in David C. Lay s textbook Linear Algebra and its Applications (3rd edition). These notes are intended primarily for in-class presentation
More information