| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Partial Differential Equation Toolbox |
| Contents | Index |
| Learn more about Partial Differential Equation Toolbox |
y=dst(x)
y=dst(x,n)
x=idst(y)
x=idst(y,n)
The dst function implements the following equation:
![]()
y=dst(x) computes the discrete sine transform of the columns of x. For best performance speed, the number of rows in x should be 2m - 1, for some integer m.
y=dst(x,n) pads or truncates the vector x to length n before transforming.
If x is a matrix, the dst operation is applied to each column.
The idst function implements the following equation:
![]()
x=idst(y) calculates the inverse discrete sine transform of the columns of y. For best performance speed, the number of rows in y should be 2m - 1, for some integer m.
x=idst(y,n) pads or truncates the vector y to length n before transforming.
If y is a matrix, the idst operation is applied to each column.
For more information about this algorithm, see Fast Solution of Poisson's Equation.
| poiasma | Partial Differential Equation Toolbox |
| poiindex | Partial Differential Equation Toolbox |
| poisolv | Partial Differential Equation Toolbox |
![]() | decsg | hyperbolic | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |