Products
  • Wolfram|One

    The definitive Wolfram Language and notebook experience

  • Mathematica

    The original technical computing environment

  • Notebook Assistant + LLM Kit

    All-in-one AI assistance for your Wolfram experience

  • Compute Services
  • System Modeler
  • Finance Platform
  • Wolfram|Alpha Notebook Edition
  • Application Server
  • Enterprise Private Cloud
  • Wolfram Engine
  • Wolfram Player
  • Wolfram Cloud App
  • Wolfram Player App

More mobile apps

Core Technologies of Wolfram Products

  • Wolfram Language
  • Computable Data
  • Wolfram Notebooks
  • AI & Linguistic Understanding

Deployment Options

  • Wolfram Cloud
  • wolframscript
  • Wolfram Engine Community Edition
  • Wolfram LLM API
  • WSTPServer
  • Wolfram|Alpha APIs

From the Community

  • Function Repository
  • Community Paclet Repository
  • Example Repository
  • Neural Net Repository
  • Prompt Repository
  • Wolfram Demonstrations
  • Data Repository
  • Group & Organizational Licensing
  • All Products
Consulting & Solutions

We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise

  • Data & Computational Intelligence
  • Model-Based Design
  • Algorithm Development
  • Wolfram|Alpha for Business
  • Blockchain Technology
  • Education Technology
  • Quantum Computation

Wolfram Consulting

Wolfram Solutions

  • Data Science
  • Artificial Intelligence
  • Biosciences
  • Healthcare Intelligence
  • Sustainable Energy
  • Control Systems
  • Enterprise Wolfram|Alpha
  • Blockchain Labs

More Wolfram Solutions

Wolfram Solutions For Education

  • Research Universities
  • Colleges & Teaching Universities
  • Junior & Community Colleges
  • High Schools
  • Educational Technology
  • Computer-Based Math

More Solutions for Education

  • Contact Us
Learning & Support

Get Started

  • Wolfram Language Introduction
  • Fast Intro for Programmers
  • Fast Intro for Math Students
  • Wolfram Language Documentation

More Learning

  • Highlighted Core Areas
  • Demonstrations
  • YouTube
  • Daily Study Groups
  • Wolfram Schools and Programs
  • Books

Grow Your Skills

  • Wolfram U

    Courses in computing, science, life and more

  • Community

    Learn, solve problems and share ideas.

  • Blog

    News, views and insights from Wolfram

  • Resources for

    Software Developers

Tech Support

  • Contact Us
  • Support FAQs
  • Support FAQs
  • Contact Us
Company
  • About Wolfram
  • Career Center
  • All Sites & Resources
  • Connect & Follow
  • Contact Us

Work with Us

  • Student Ambassador Initiative
  • Wolfram for Startups
  • Student Opportunities
  • Jobs Using Wolfram Language

Educational Programs for Adults

  • Summer School
  • Winter School

Educational Programs for Youth

  • Middle School Camp
  • High School Research Program
  • Computational Adventures

Read

  • Stephen Wolfram's Writings
  • Wolfram Blog
  • Wolfram Tech | Books
  • Wolfram Media
  • Complex Systems

Educational Resources

  • Wolfram MathWorld
  • Wolfram in STEM/STEAM
  • Wolfram Challenges
  • Wolfram Problem Generator

Wolfram Initiatives

  • Wolfram Science
  • Wolfram Foundation
  • History of Mathematics Project

Events

  • Stephen Wolfram Livestreams
  • Online & In-Person Events
  • Contact Us
  • Connect & Follow
Wolfram|Alpha
  • Your Account
  • User Portal
  • Wolfram Cloud
  • Products
    • Wolfram|One
    • Mathematica
    • Notebook Assistant + LLM Kit
    • Compute Services
    • System Modeler
    • Finance Platform
    • Wolfram|Alpha Notebook Edition
    • Application Server
    • Enterprise Private Cloud
    • Wolfram Engine
    • Wolfram Player
    • Wolfram Cloud App
    • Wolfram Player App

    More mobile apps

    • Core Technologies
      • Wolfram Language
      • Computable Data
      • Wolfram Notebooks
      • AI & Linguistic Understanding
    • Deployment Options
      • Wolfram Cloud
      • wolframscript
      • Wolfram Engine Community Edition
      • Wolfram LLM API
      • WSTPServer
      • Wolfram|Alpha APIs
    • From the Community
      • Function Repository
      • Community Paclet Repository
      • Example Repository
      • Neural Net Repository
      • Prompt Repository
      • Wolfram Demonstrations
      • Data Repository
    • Group & Organizational Licensing
    • All Products
  • Consulting & Solutions

    We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise

    WolframConsulting.com

    Wolfram Solutions

    • Data Science
    • Artificial Intelligence
    • Biosciences
    • Healthcare Intelligence
    • Sustainable Energy
    • Control Systems
    • Enterprise Wolfram|Alpha
    • Blockchain Labs

    More Wolfram Solutions

    Wolfram Solutions For Education

    • Research Universities
    • Colleges & Teaching Universities
    • Junior & Community Colleges
    • High Schools
    • Educational Technology
    • Computer-Based Math

    More Solutions for Education

    • Contact Us
  • Learning & Support

    Get Started

    • Wolfram Language Introduction
    • Fast Intro for Programmers
    • Fast Intro for Math Students
    • Wolfram Language Documentation

    Grow Your Skills

    • Wolfram U

      Courses in computing, science, life and more

    • Community

      Learn, solve problems and share ideas.

    • Blog

      News, views and insights from Wolfram

    • Resources for

      Software Developers
    • Tech Support
      • Contact Us
      • Support FAQs
    • More Learning
      • Highlighted Core Areas
      • Demonstrations
      • YouTube
      • Daily Study Groups
      • Wolfram Schools and Programs
      • Books
    • Support FAQs
    • Contact Us
  • Company
    • About Wolfram
    • Career Center
    • All Sites & Resources
    • Connect & Follow
    • Contact Us

    Work with Us

    • Student Ambassador Initiative
    • Wolfram for Startups
    • Student Opportunities
    • Jobs Using Wolfram Language

    Educational Programs for Adults

    • Summer School
    • Winter School

    Educational Programs for Youth

    • Middle School Camp
    • High School Research Program
    • Computational Adventures

    Read

    • Stephen Wolfram's Writings
    • Wolfram Blog
    • Wolfram Tech | Books
    • Wolfram Media
    • Complex Systems
    • Educational Resources
      • Wolfram MathWorld
      • Wolfram in STEM/STEAM
      • Wolfram Challenges
      • Wolfram Problem Generator
    • Wolfram Initiatives
      • Wolfram Science
      • Wolfram Foundation
      • History of Mathematics Project
    • Events
      • Stephen Wolfram Livestreams
      • Online & In-Person Events
    • Contact Us
    • Connect & Follow
  • Wolfram|Alpha
  • Wolfram Cloud
  • Your Account
  • User Portal
Wolfram Language & System Documentation Center
ArrayResample
  • See Also
    • ListInterpolation
    • Interpolation
    • ImageResize
    • Upsample
    • Downsample
    • Dimensions
    • ArrayPad
    • ArrayFilter
  • Related Guides
    • Rearranging & Restructuring Lists
    • Creating & Importing Signals
    • Structure Matrices & Convolution Kernels
  • Tech Notes
    • Image Processing
    • See Also
      • ListInterpolation
      • Interpolation
      • ImageResize
      • Upsample
      • Downsample
      • Dimensions
      • ArrayPad
      • ArrayFilter
    • Related Guides
      • Rearranging & Restructuring Lists
      • Creating & Importing Signals
      • Structure Matrices & Convolution Kernels
    • Tech Notes
      • Image Processing

ArrayResample[array,{n1,n2,…}]

resamples array to have dimensions {n1,n2,…}.

ArrayResample[array,dspec]

resamples array according to the dimension specification dspec.

ArrayResample[array,dspec,scheme]

specifies resampling scheme, either point or bin based.

ArrayResample[array,dspec,scheme,{{xmin,xmax},…}]

resamples only the data in the specified subrange {{xmin,xmax},…}.

Details and Options
Details and Options Details and Options
Examples  
Basic Examples  
Scope  
Basic Uses  
Output Dimensions  
Sampling Schemes  
Options  
Antialiasing  
DataRange  
Padding  
Resampling  
Applications  
Properties & Relations  
Possible Issues  
See Also
Tech Notes
Related Guides
History
Cite this Page
BUILT-IN SYMBOL
  • See Also
    • ListInterpolation
    • Interpolation
    • ImageResize
    • Upsample
    • Downsample
    • Dimensions
    • ArrayPad
    • ArrayFilter
  • Related Guides
    • Rearranging & Restructuring Lists
    • Creating & Importing Signals
    • Structure Matrices & Convolution Kernels
  • Tech Notes
    • Image Processing
    • See Also
      • ListInterpolation
      • Interpolation
      • ImageResize
      • Upsample
      • Downsample
      • Dimensions
      • ArrayPad
      • ArrayFilter
    • Related Guides
      • Rearranging & Restructuring Lists
      • Creating & Importing Signals
      • Structure Matrices & Convolution Kernels
    • Tech Notes
      • Image Processing

ArrayResample

ArrayResample[array,{n1,n2,…}]

resamples array to have dimensions {n1,n2,…}.

ArrayResample[array,dspec]

resamples array according to the dimension specification dspec.

ArrayResample[array,dspec,scheme]

specifies resampling scheme, either point or bin based.

ArrayResample[array,dspec,scheme,{{xmin,xmax},…}]

resamples only the data in the specified subrange {{xmin,xmax},…}.

Details and Options

  • ArrayResample can be used for resampling data arrays based on a large selection of interpolation and approximation models.
  • ArrayResample works with data arrays of any depth.
  • The dimension specification dspec can be of the form:
  • nn samples
    Scaled[s]rescale sampling resolution by factor s
    Allpreserve dimension
    Automaticpreserve dimension ratios
    {dspec1,…,dspeck}resample up to the ^(th) dimension
  • For a multidimensional array, the notation n is taken to be equivalent to {n,Automatic,…} and {n} equivalent to {n,All,…}.
  • The dimension ratios for an array of dimensions is taken to be .
  • The scheme determines the location of sample and resample positions and can be of the form:
  • "Point"point sampling (default)
    "Bin"bin sampling
    {"Bin",alignment}bin sampling with specified alignment
  • For input data of length n the "Point" resampling scheme assumes a data range from 1 to n and the "Bin" scheme assumes a data range from 0 to n with the alignment indicating the sample location within each bin.
  • Bin alignment alignment can be Left, Center, Right or any number between (Left) and 1 (Right).
  • The data range can be modified using the DataRange option.
  • By default, the data is resampled on the entire data domain, ranging from 1 to for the "Point" scheme and from 0 to for the "Bin" scheme. Use the DataRange option to modify the coordinates of the data domain.
  • With a subrange {{xmin,xmax},…} specified with respect to the DataRange, only the data values in the given interval are resampled. »
  • The following options can be given:
  • Antialiasing Falseapply antialiasing when downsampling
    DataRange Automaticrange of the input data
    Padding "Fixed"padding method
    Resampling Automaticresampling method
  • For possible settings for Padding, see the reference page for ArrayPad.

Examples

open all close all

Basic Examples  (2)

Subsample an array:

Downsample an array:

Resize a 2D array of data:

Scope  (8)

Basic Uses  (4)

Exact computation:

Precision of the input is preserved:

Resizing a symbolic array:

Resample a subdomain of the input signal:

Output Dimensions  (1)

With size specified as a scalar, output dimension is selected such that dimension ratio is preserved:

Sampling Schemes  (3)

By default, the "Point" sampling scheme is used:

Use the "Bin" scheme, which uses center alignment by default:

Specify the alignment of the bins:

Generate a "Point" resampling with three times the input resolution:

Compute the sampling positions:

Options  (5)

Antialiasing  (1)

When downsampling, by default no antialiasing is happening:

With antialiasing, all samples that fall in between new samples are averaged:

DataRange  (1)

DataRange specifies the domain of resampling. Subrange specification is defined with respect to this domain:

Resample the whole data:

Resample the first half using default DataRange->{1,n}, where n is the length of data:

Resample the first half of the data using a {0,1} data range:

Padding  (2)

The default padding value is "Fixed":

Specify a different padding:

By default, the same padding is used for all dimensions:

Use different paddings for different dimensions:

Resampling  (1)

By default, "Linear" resampling is used:

Use a different resampling scheme:

"Nearest" resampling averages the samples if the sampling position is halfway between samples:

Use "NearestLeft" or "NearestRight" for a bias to left or right for half-integer sampling positions:

Applications  (1)

Reduce the size of a dataset for faster visualization:

Properties & Relations  (2)

Compare array resampling for a few different kernels:

Downsample can be used to downsample by an integer factor:

Possible Issues  (1)

Exact computations are performed with integer data:

Apply N to integer data for faster computation:

See Also

ListInterpolation  Interpolation  ImageResize  Upsample  Downsample  Dimensions  ArrayPad  ArrayFilter

Tech Notes

    ▪
  • Image Processing

Related Guides

    ▪
  • Rearranging & Restructuring Lists
  • ▪
  • Creating & Importing Signals
  • ▪
  • Structure Matrices & Convolution Kernels

History

Introduced in 2014 (10.0) | Updated in 2016 (11.0)

Wolfram Research (2014), ArrayResample, Wolfram Language function, https://reference.wolfram.com/language/ref/ArrayResample.html (updated 2016).

Text

Wolfram Research (2014), ArrayResample, Wolfram Language function, https://reference.wolfram.com/language/ref/ArrayResample.html (updated 2016).

CMS

Wolfram Language. 2014. "ArrayResample." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2016. https://reference.wolfram.com/language/ref/ArrayResample.html.

APA

Wolfram Language. (2014). ArrayResample. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ArrayResample.html

BibTeX

@misc{reference.wolfram_2025_arrayresample, author="Wolfram Research", title="{ArrayResample}", year="2016", howpublished="\url{https://reference.wolfram.com/language/ref/ArrayResample.html}", note=[Accessed: 01-May-2026]}

BibLaTeX

@online{reference.wolfram_2025_arrayresample, organization={Wolfram Research}, title={ArrayResample}, year={2016}, url={https://reference.wolfram.com/language/ref/ArrayResample.html}, note=[Accessed: 01-May-2026]}

Top
Introduction for Programmers
Introductory Book
Wolfram Function Repository | Wolfram Data Repository | Wolfram Data Drop | Wolfram Language Products
Top
  • Products
  • Wolfram|One
  • Mathematica
  • Notebook Assistant + LLM Kit
  • Compute Services
  • System Modeler

  • Wolfram|Alpha Notebook Edition
  • Wolfram|Alpha Pro
  • Mobile Apps

  • Wolfram Engine
  • Wolfram Player

  • Volume & Site Licensing
  • Server Deployment Options
  • Consulting
  • Wolfram Consulting
  • Repositories
  • Data Repository
  • Function Repository
  • Community Paclet Repository
  • Neural Net Repository
  • Prompt Repository

  • Wolfram Language Example Repository
  • Notebook Archive
  • Wolfram GitHub
  • Learning
  • Wolfram U
  • Wolfram Language Documentation
  • Webinars & Training
  • Educational Programs

  • Wolfram Language Introduction
  • Fast Introduction for Programmers
  • Fast Introduction for Math Students
  • Books

  • Wolfram Community
  • Wolfram Blog
  • Public Resources
  • Wolfram|Alpha
  • Wolfram Problem Generator
  • Wolfram Challenges

  • Computer-Based Math
  • Computational Thinking
  • Computational Adventures

  • Demonstrations Project
  • Wolfram Data Drop
  • MathWorld
  • Wolfram Science
  • Wolfram Media Publishing
  • Customer Resources
  • Store
  • Product Downloads
  • User Portal
  • Your Account
  • Organization Access

  • Support FAQ
  • Contact Support
  • Company
  • About Wolfram
  • Careers
  • Contact
  • Events
Wolfram Community Wolfram Blog
Legal & Privacy Policy
WolframAlpha.com | WolframCloud.com
© 2026 Wolfram
© 2026 Wolfram | Legal & Privacy Policy |
English