Separable and Nonseparable 2D Sequences

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

This Demonstration shows a separable 2D sinusoidal sequence (left) versus the nonseparable one (right) displayed as 16×16 images, with heights represented by colors.



where and are horizontal and vertical directions, respectively, and and are the horizontal and vertical angular frequencies. This sequence is called separable because it is obtained as a product of two one-dimensional sequences. Thus, if any of the sliders are set to 0, the sequences will be 0 (constant image). For any combinations of sliders, the resulting pattern will be rectangular.

The right figure (nonseparable) is generated using


This sequence is called nonseparable because it cannot be obtained as a product of two one-dimensional sequences. If one of the sliders is set to 0 and the other to any nonzero value, the resulting image will show a pattern only in one dimension. If both sliders are set to a nonzero value, the resulting pattern will never be rectangular.

The fact that the separable sequence can only achieve rectangular space patterns, while the nonseparable one offers more flexibility, is often used in discrete-time signal processing to design filters.


Contributed by: Jelena Kovacevic (June 2012)
Open content licensed under CC BY-NC-SA



The left figure (separable) is generated using


[1] M. Vetterli, J. Kovačević, and V. K. Goyal, Foundations of Signal Processing, Cambridge: Cambridge University Press, 2014.

Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.