MATLAB Answers

Why is dst and idst 'not recommended'?

16 views (last 30 days)
Jean-Luc Parker
Jean-Luc Parker on 30 Jan 2020
Edited: Pat Quillen on 7 Feb 2020
The help page for the dst and idst (discrete sine transforms) functions state that these functions are "not recommended". For what reason is this? i.e. is the function is inefficient, should the method of using a dst be avoided in the first place, etc?
Thank you!

Accepted Answer

Pat Quillen
Pat Quillen on 7 Feb 2020
Edited: Pat Quillen on 7 Feb 2020
These functions are not recommended mostly because of where they live---namely the PDE toolbox. This discouragment is a step in moving these functions out of the toolbox. These functions should probably be part of MATLAB proper as they are more generally useful computational tools. Because of our commitment to backwards compatibility, we will not be removing the functions until we have a replacement for customers who are currently using these functions.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!