Zooming
zoom(M, hscale, vscale)—Returns matrix M resized by factor hscale horizontally and vscale vertically.
Arguments
M is an image matrix.
hscale, vscale are positive, nonzero real numbers representing the horizontal and vertical scales for zooming.
Additional Information
The function returns the scaled image, which is a different size matrix from the input.
It is recommended to avoid the use of excessively large values for hscale or vscale, because of unreasonable computation times and display problems.
Was this helpful?