Upsample[array,n]
returns an upsampled version of the array by inserting
zeros between array elements.
Upsample[array,n,offset]
shifts array so that its first element moves to the position offset in the resulting array.
Upsample[array,n,offset,val]
inserts
elements of value val between array elements.
Upsample[image,…]
upsamples an image.
Upsample
Upsample[array,n]
returns an upsampled version of the array by inserting
zeros between array elements.
Upsample[array,n,offset]
shifts array so that its first element moves to the position offset in the resulting array.
Upsample[array,n,offset,val]
inserts
elements of value val between array elements.
Upsample[image,…]
upsamples an image.
Details
- In Upsample[array,…], array can be an array of any rank.
- Upsample works with arrays of any rank and 2D and 3D images.
- Upsample[array,{n1,n2,…}] inserts ni zeros between elements in the i
dimension. - Upsample[array,n] is equivalent to Upsample[array,n,1].
- In Upsample[array,n,offset], the offset has to be an integer between 1 and n.
Examples
open all close allBasic Examples (3)
Scope (3)
Applications (3)
See Also
Related Guides
Text
Wolfram Research (2012), Upsample, Wolfram Language function, https://reference.wolfram.com/language/ref/Upsample.html (updated 2016).
CMS
Wolfram Language. 2012. "Upsample." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2016. https://reference.wolfram.com/language/ref/Upsample.html.
APA
Wolfram Language. (2012). Upsample. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Upsample.html
BibTeX
@misc{reference.wolfram_2025_upsample, author="Wolfram Research", title="{Upsample}", year="2016", howpublished="\url{https://reference.wolfram.com/language/ref/Upsample.html}", note=[Accessed: 24-October-2025]}
BibLaTeX
@online{reference.wolfram_2025_upsample, organization={Wolfram Research}, title={Upsample}, year={2016}, url={https://reference.wolfram.com/language/ref/Upsample.html}, note=[Accessed: 24-October-2025]}