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

Star Strider
Star Strider 2019년 12월 14일
Therea are several resample functions.
See Release Notes to see what changed and why.
Karl Molnar
Karl Molnar 2019년 12월 16일
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 2020년 6월 5일
I'm annoyed by this as well. Could the old resample.m file be provided somewhere?

댓글을 달려면 로그인하십시오.

 채택된 답변

Vinai Datta Thatiparthi
Vinai Datta Thatiparthi 2019년 12월 20일

0 개 추천

Hello Karl,
I have brought this issue to the notice of our developers. They will investigate the matter further.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Programming에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by