Code Monkey home page Code Monkey logo

matlab-ft-properties's Introduction

FT-properties

Reference

Execution

    >> demo_fourier_properties_0_all_examples.m

1) Linearity

Reference

Definition

For any complex numbers $a \in \mathbb{C}$ and $b \in \mathbb{C}$,

$h(x) = af(x) + bg(x)$ $\xleftrightarrow{\mathcal{F}~(\textrm{Fourier transform})}$ $\hat{h}(\xi) = a \cdot \hat{f}(\xi) + b \cdot \hat{g}(\xi)$

Execution

    >> demo_fourier_properties_1_linearity.m

Results

alt text

2) Shift in Spatial domain

Reference

Definition

For any real number $x_0 \in \mathbb{R}$,

$h(x) = f(x-x_0)$ $\xleftrightarrow{\mathcal{F}~(\textrm{Fourier transform})}$ $\hat{h}(\xi) = e^{-2 \pi i x_0 \xi}\hat{f}(\xi)$

Execution

    >> demo_fourier_properties_2_shift_in_spatial_domain.m

Results

alt text

3) Shift in Fourier domain

Reference

Definition

For any real number $\xi_0 \in \mathbb{R}$,

$h(x) = e^{2 \pi i x \xi_0}f(x)$ $\xleftrightarrow{\mathcal{F}~(\textrm{Fourier transform})}$ $\hat{h}(\xi) = \hat{f}(\xi - \xi_0)$

Execution

    >> demo_fourier_properties_3_shift_in_Fourier_domain.m

Results

alt text

4) Convolution theorem

Reference

Definition

$h(x) = (f*g)(x) = \int_{-\infty}^{\infty}{f(y)g(x-y)dy}$ $\xleftrightarrow{\mathcal{F}~(\textrm{Fourier transform})}$ $\hat{h}(\xi) = \hat{f}(\xi) \cdot \hat{g}(\xi)$

where, * is convolution operator and $\cdot$ is element-wise multiplication.

Execution for 1D example

    >> demo_fourier_properties_4_1d_convolution_vs_multiplication.m

Execution for 2D example

    >> demo_fourier_properties_5_2d_convolution_vs_multiplication.m

Results

alt text (a) 1D example alt text (b) 2D example

matlab-ft-properties's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

frankzhangyk

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.