A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://reference.wolfram.com/language/ref/ArrayResample.html below:

ArrayResample—Wolfram Language Documentation

WOLFRAM Consulting & Solutions

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

WolframConsulting.com

BUILT-IN SYMBOL

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 Examplesopen allclose 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:

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: 12-July-2025 ]}

BibLaTeX

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


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4