Muhammad Awais Khalid
Muhammad Awais Khalid

Reputation: 59

Matrix resizing function in GNU Octave

There is a function called as resizem in MATLAB which resize the input matrix to the specified size using some interpolation method.

Anybody knows any function in OCTAVE which do the same matrix resizing? There is a function resize in OCTAVE but its doing some thing else.

Upvotes: 0

Views: 940

Answers (1)

carandraug
carandraug

Reputation: 13091

The function resizem belongs to the Matlab mapping toolbox. It is not part of the core Matlab so you will not find it in Octave either. You would find it the Octave mapping package (if it was implemented there which is not yet).

However, at first glance it seems to be simple to replace it with handling interp2 yourself, or use the image package imresize as a drop-in replacement. That's all dependent on how you are using resizem.

Upvotes: 1

Related Questions