resample.m 2019b

2 views (last 30 days)
Karl Molnar
Karl Molnar on 14 Dec 2019
who's bright idea was it to change the resample.m function so it only works with two-dimensional arrays, and no longer with multi-dimensional arrays, meaning it is not backward compatible with older releases?
Commenting out lines 200-201 in resample.m restores the old behavior.
  3 Comments
Karl Molnar
Karl Molnar on 16 Dec 2019
Ok, let me be more specific - in the Signal Processing Toolbox, where we've been using the resample.m function flawlessly and without fail for over 8 years - who's stup[id idea was it to break backward compatibility by modifying the function to only allow 2 dimensional arrays as inputs, and where multi-dimensional arrays worked just fine previously.
It doesn't really matter why it was changed, it was changed, and it broke code that was used for years without any problems. This does, however, seem to be a policy of the Mathworks.
Peter-Lasse Giertzuch
Peter-Lasse Giertzuch on 5 Jun 2020
I'm annoyed by this as well. Could the old resample.m file be provided somewhere?

Sign in to comment.

Accepted Answer

Vinai Datta Thatiparthi
Vinai Datta Thatiparthi on 20 Dec 2019
Hello Karl,
I have brought this issue to the notice of our developers. They will investigate the matter further.

More Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!