Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
GNU Octave Beginner's Guide

You're reading from   GNU Octave Beginner's Guide Become a proficient Octave user by learning this high-level scientific numerical tool from the ground up

Arrow left icon
Product type Paperback
Published in Jun 2011
Publisher Packt
ISBN-13 9781849513326
Length 280 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Jesper Schmidt Hansen Jesper Schmidt Hansen
Author Profile Icon Jesper Schmidt Hansen
Jesper Schmidt Hansen
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

GNU Octave
Credits
About the Author
About the Reviewers
1. www.PacktPub.com
2. Preface
1. Introducing GNU Octave FREE CHAPTER 2. Interacting with Octave: Variables and Operators 3. Working with Octave: Functions and Plotting 4. Rationalizing: Octave Scripts 5. Extensions: Write Your Own Octave Functions 6. Making Your Own Package: A Poisson Equation Solver 7. More Examples: Data Analysis 8. Need for Speed: Optimization and Dynamically Linked Functions Pop quiz - Answers

Fourier analysis


The figure below shows the monthly average exchange rate between the Australian dollar and Danish kroner starting from January 1, 1991, and ending on March 2010. The y axis is the price in kroners for 100 dollars and the x axis is the month index after Janary 1, 1991. It is clearly seen that there exists an underlying oscillatory behavior. This could motivate us to buy dollars paying with kroners whenever the exchange rate is low, and then make an exchange back to kroners whenever the rate is high, thereby making a net earning. The exchange rate data are a bit hard to read because of the superimposed noise and by the fact that the periodicity is not strictly a constant. It would therefore be desirable to have a way to extract the main periods or frequencies before we make large investments. A Fourier (or spectral) analysis can help you with this.

Before we analyse the exchange rate data, however, we should try to get an understanding of how the Fourier transform works in...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime